[issue20798] Reversed order in testtools messages

2014-02-27 Thread Pete Zaitcev
New submission from Pete Zaitcev: When using an assert such as self.assertEquals(tester(), expected), an error message suggests wrong argument order (as in, not the order in examples in the documentation). Apparently this is confusing enough that OpenStack even opened a whole bunch of bugs

[issue20798] Reversed order in testtools messages

2014-02-27 Thread Pete Zaitcev
Pete Zaitcev added the comment: Oh, indeed. The printout is in testtools only. The unittest prints this: [zaitcev@guren xxx]$ python3 -c 'import nose; nose.main()' F == FAIL: test_testEquals (testic.TestConfigTrueValue