Fix test type

Signed-off-by: Colin Hebert <hebert.colin@gmail.com>
This commit is contained in:
Colin Hebert 2017-04-13 22:40:07 +10:00 committed by Joffrey F
parent 37de55865b
commit 9d78258b44
1 changed files with 1 additions and 2 deletions

View File

@ -849,8 +849,7 @@ class ConfigTest(unittest.TestCase):
).services[0]
assert 'labels' in service['build']
assert 'label1' in service['build']['labels']
assert isinstance(service['build']['labels']['label1'], str)
assert service['build']['labels']['label1'] == '42'
assert service['build']['labels']['label1'] == 42
assert service['build']['labels']['label2'] == 'foobar'
def test_build_args_allow_empty_properties(self):