'Verifies that default keys are added correctly.'

def test_process_sort_params_default(self):

    (sort_keys, sort_dirs) = sqlalchemy_api.process_sort_params(['id', 'key2'], ['asc', 'desc'])
    self.assertEqual(['id', 'key2', 'created_at'], sort_keys)
    self.assertEqual(['asc', 'desc', 'asc'], sort_dirs)
    (sort_keys, sort_dirs) = sqlalchemy_api.process_sort_params(['id', 'key2'], [])
    self.assertEqual(['id', 'key2', 'created_at'], sort_keys)
    self.assertEqual(['asc', 'asc', 'asc'], sort_dirs)
