diff options
Diffstat (limited to 'nova/tests/unit/test_fixtures.py')
-rw-r--r-- | nova/tests/unit/test_fixtures.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nova/tests/unit/test_fixtures.py b/nova/tests/unit/test_fixtures.py index 873cbab0fe..d655d1a028 100644 --- a/nova/tests/unit/test_fixtures.py +++ b/nova/tests/unit/test_fixtures.py @@ -423,20 +423,6 @@ class TestBannedDBSchemaOperations(testtools.TestCase): table.alter) -class TestStableObjectJsonFixture(testtools.TestCase): - def test_changes_sort(self): - class TestObject(obj_base.NovaObject): - def obj_what_changed(self): - return ['z', 'a'] - - obj = TestObject() - self.assertEqual(['z', 'a'], - obj.obj_to_primitive()['nova_object.changes']) - with fixtures.StableObjectJsonFixture(): - self.assertEqual(['a', 'z'], - obj.obj_to_primitive()['nova_object.changes']) - - class TestAllServicesCurrentFixture(testtools.TestCase): @mock.patch('nova.objects.Service._db_service_get_minimum_version') def test_services_current(self, mock_db): |