Browse Source

Merge "Try deinit odl_features in TestOdlFeaturesNoFixture setUpClass"

master
Zuul 2 weeks ago
parent
commit
818c274fe0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      networking_odl/tests/unit/common/test_odl_features.py

+ 1
- 0
networking_odl/tests/unit/common/test_odl_features.py View File

@@ -143,6 +143,7 @@ class TestOdlFeaturesNoFixture(base.DietTestCase):
self.addCleanup(odl_features.deinit)

def test_feature_configs_does_not_mutate_default_features(self):
odl_features.deinit()
self.assertEqual(odl_features.EMPTY_FEATURES,
odl_features.feature_configs)
odl_features.feature_configs['test'] = True

Loading…
Cancel
Save