'Verifies a single sort key and direction.'

def test_get_sort_params_single_value(self):

    params = webob.multidict.MultiDict()
    params.add('sort_key', 'key1')
    params.add('sort_dir', 'dir1')
    (sort_keys, sort_dirs) = common.get_sort_params(params)
    self.assertEqual(['key1'], sort_keys)
    self.assertEqual(['dir1'], sort_dirs)
