summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-01-15 17:50:10 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-01-15 17:50:10 +0300
commitd229549101dc7d0fa4ca13221563c79098ebf56a (patch)
tree86f390bee629390d64dd3f2be851097487f3e630
parent43e36d91e5501fa5df33e1cbc6cddabae6fef5e8 (diff)
downloadunit-d229549101dc7d0fa4ca13221563c79098ebf56a.tar.gz
unit-d229549101dc7d0fa4ca13221563c79098ebf56a.tar.bz2
Tests: fixed arguments order in getattr() call.
-rw-r--r--test/unit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit.py b/test/unit.py
index d3d00fe0..2061e3e1 100644
--- a/test/unit.py
+++ b/test/unit.py
@@ -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):