commit | 8049d08ae780a0d4f7d6c820a3797332d23e1d62 | [log] [tgz] |
---|---|---|
author | Béla Vancsics <vancsics@inf.u-szeged.hu> | Thu Sep 29 13:13:30 2016 +0200 |
committer | Béla Vancsics <vancsics@inf.u-szeged.hu> | Fri Sep 30 09:43:49 2016 +0200 |
tree | 2200ea3a9b6f202502a464ed0968a50684e1dd92 | |
parent | 35d82e59aa45e192fa81d11f7507225a0001714d [diff] |
Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone Instead of using assertTrue(A * B) / assertFalse(A * B) developers should use assertNotIn, assertIn, assertGreater, assertGreaterEqual or assertLessEqual or assertIsNotNone. They are compatible with Python 2.7[1] and 3.4[2] [1]: https://docs.python.org/2.7/library/unittest.html [2]: https://docs.python.org/3.4/library/unittest.html Change-Id: I26ab3bc3cad5e1dddc812388b864d51c73f53f58