Bläddra i källkod

Move config_test to the correct package name.

Signed-off-by: Daniel Nephin <[email protected]>
Daniel Nephin 10 år sedan
förälder
incheckning
831276f531
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 0 0
      tests/unit/config/__init__.py
  2. 2 2
      tests/unit/config/config_test.py

+ 0 - 0
tests/unit/config/__init__.py


+ 2 - 2
tests/unit/config_test.py → tests/unit/config/config_test.py

@@ -280,7 +280,7 @@ class ConfigTest(unittest.TestCase):
     def test_logs_warning_for_boolean_in_environment(self, mock_logging):
         expected_warning_msg = "Warning: There is a boolean value, True in the 'environment' key."
         config.load(
-            config.ConfigDetails(
+            build_config_details(
                 {'web': {
                     'image': 'busybox',
                     'environment': {'SHOW_STUFF': True}
@@ -298,7 +298,7 @@ class ConfigTest(unittest.TestCase):
 
         with self.assertRaisesRegexp(ConfigurationError, expected_error_msg):
             config.load(
-                config.ConfigDetails(
+                build_config_details(
                     {'web': {
                         'image': 'busybox',
                         'environment': {'---': 'nope'}