[mtiLib] Enable testing same source against multiple tableTags

This commit is contained in:
Behdad Esfahbod 2016-12-27 13:38:51 -05:00
parent 2f800c9384
commit 1896353af0

View File

@ -476,7 +476,7 @@ def generate_mti_file_test(name, tableTag=None):
for tableTag,tests in MtiTest.TESTS.items():
for name in tests:
setattr(MtiTest, "test_MtiFile_%s" % name,
setattr(MtiTest, "test_MtiFile_%s%s" % (name, '_'+tableTag if tableTag else ''),
generate_mti_file_test(name, tableTag=tableTag))