'Verifies that the default direction can be overridden.'

def test_process_sort_params_override_default_dir(self):

    (sort_keys, sort_dirs) = sqlalchemy_api.process_sort_params([], [], default_dir='dir1')
    self.assertEqual(['created_at', 'id'], sort_keys)
    self.assertEqual(['dir1', 'dir1'], sort_dirs)
