diff --git a/tests/pgraph/test_nodepath.py b/tests/pgraph/test_nodepath.py index 9c97d4260a..d60aa312ba 100644 --- a/tests/pgraph/test_nodepath.py +++ b/tests/pgraph/test_nodepath.py @@ -91,6 +91,14 @@ def test_weak_nodepath_comparison(): assert weak == path assert weak <= path assert path <= weak + assert weak >= path + assert path >= weak + assert not (path != weak) + assert not (weak != path) + assert not (weak > path) + assert not (path > weak) + assert not (weak < path) + assert not (path < weak) assert hash(path) == hash(weak) assert weak.get_node_path() == path diff --git a/tests/putil/test_updateseq.py b/tests/putil/test_updateseq.py index 68883e6f23..5cd7312595 100644 --- a/tests/putil/test_updateseq.py +++ b/tests/putil/test_updateseq.py @@ -63,11 +63,11 @@ def test_updateseq_fresh(): old = UpdateSeq.old() assert not (seq == old) - assert not (seq >= old) - assert not (seq > old) + assert not (seq <= old) + assert not (seq < old) assert seq != old - assert seq <= old - assert seq < old + assert seq >= old + assert seq > old def test_updateseq_old():