Remove the duplicate 'Warning' prefix now that the logger adds the prefix.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
d836973a04
commit
841ed4ed21
5 changed files with 44 additions and 8 deletions
|
|
@ -380,7 +380,7 @@ class ConfigTest(unittest.TestCase):
|
|||
|
||||
@mock.patch('compose.config.validation.log')
|
||||
def test_logs_warning_for_boolean_in_environment(self, mock_logging):
|
||||
expected_warning_msg = "Warning: There is a boolean value in the 'environment' key."
|
||||
expected_warning_msg = "There is a boolean value in the 'environment' key."
|
||||
config.load(
|
||||
build_config_details(
|
||||
{'web': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue