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:
Daniel Nephin 2015-10-29 14:15:08 -04:00
commit 841ed4ed21
5 changed files with 44 additions and 8 deletions

View file

@ -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': {