Skip to content

Commit

Permalink
Better readability of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Sep 1, 2017
1 parent 1c01dbd commit 9cd45d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZopeUndo/tests/test_prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def test(self):
p1 = Prefix("/a/b")
for equal in ("/a/b", "/a/b/c", "/a/b/c/d"):
self.assertEqual(p1, equal)
for equal in ("/a/b", "/a/b/c", "/a/b/c/d"):
self.assertEqual(p1 != equal, False)
self.assertFalse(p1 != equal)
for notEqual in ("", "/a/c", "/a/bbb", "///"):
self.assertNotEqual(p1, notEqual)
self.assertTrue(p1 != notEqual)

p2 = Prefix("")
for equal in ("", "/", "/def", "/a/b", "/a/b/c", "/a/b/c/d"):
Expand Down

0 comments on commit 9cd45d4

Please sign in to comment.