def test_get_sort_params_defaults(self):
        sort_keys, sort_dirs = common.get_sort_params({})
        self.assertEqual(['created_at'], sort_keys)
        self.assertEqual(['desc'], sort_dirs)
Verifies the default sort key and direction.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/test_common.py/SortParamUtilsTest.test_get_sort_params_defaults