Tests: fixed arguments order in getattr() call.

This commit is contained in:
Andrey Zelenkov
2018-01-15 17:50:10 +03:00
parent 43e36d91e5
commit d229549101

View File

@@ -29,7 +29,7 @@ class TestUnit(unittest.TestCase):
shutil.rmtree(self.testdir)
def assertTry(self, assert_method, description, *args):
try: getattr(self, assert_method)(*args, description)
try: getattr(self, assert_method)(*args, msg=description)
except AssertionError: print('not yet: ' + description)
def check_modules(self, *modules):