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)
Create a 405 Method Not Allowed response
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/test_common.py/SortParamUtilsTest.test_get_sort_params_single_value--crossover with--dataset/ETHPy150Open rsms/smisk/examples/core/key-value-store/app.py/KeyValueStore.method_not_allowed