Kaynağa Gözat

Fix test type

Signed-off-by: Colin Hebert <[email protected]>
Colin Hebert 8 yıl önce
ebeveyn
işleme
9d78258b44
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      tests/unit/config/config_test.py

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

@@ -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):