Skip to content

Commit 4c5892c

Browse files
committed
Testing the interpolation of the value type.
1 parent 2f967ae commit 4c5892c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/framework/easyconfigparser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ def test_easyconfig_constants(self):
184184
for constant_name in constants:
185185
self.assertTrue(isinstance(constant_name, string_type), "Constant name %s is a string" % constant_name)
186186
val = constants[constant_name]
187-
self.assertTrue(isinstance(val, (string_type, dict, tuple)),
188-
"Constant value %s is a string, a dict or a tuple" % val)
187+
self.assertTrue(isinstance(val, (string_type, dict, tuple)), "Constant value %s is string, dict or tuple" % val)
189188

190189
# check a couple of randomly picked constant values
191190
self.assertEqual(constants['SOURCE_TAR_GZ'], '%(name)s-%(version)s.tar.gz')

0 commit comments

Comments
 (0)