Move config_test to the correct package name.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
c0c9a7c1e4
commit
831276f531
2 changed files with 2 additions and 2 deletions
0
tests/unit/config/__init__.py
Normal file
0
tests/unit/config/__init__.py
Normal file
|
|
@ -280,7 +280,7 @@ class ConfigTest(unittest.TestCase):
|
||||||
def test_logs_warning_for_boolean_in_environment(self, mock_logging):
|
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."
|
expected_warning_msg = "Warning: There is a boolean value, True in the 'environment' key."
|
||||||
config.load(
|
config.load(
|
||||||
config.ConfigDetails(
|
build_config_details(
|
||||||
{'web': {
|
{'web': {
|
||||||
'image': 'busybox',
|
'image': 'busybox',
|
||||||
'environment': {'SHOW_STUFF': True}
|
'environment': {'SHOW_STUFF': True}
|
||||||
|
|
@ -298,7 +298,7 @@ class ConfigTest(unittest.TestCase):
|
||||||
|
|
||||||
with self.assertRaisesRegexp(ConfigurationError, expected_error_msg):
|
with self.assertRaisesRegexp(ConfigurationError, expected_error_msg):
|
||||||
config.load(
|
config.load(
|
||||||
config.ConfigDetails(
|
build_config_details(
|
||||||
{'web': {
|
{'web': {
|
||||||
'image': 'busybox',
|
'image': 'busybox',
|
||||||
'environment': {'---': 'nope'}
|
'environment': {'---': 'nope'}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue