Bases: congress.tests.base.TestCase
Test that OrderedSet.add(known) returns False.
Test that OrderedSet.add(unknown) returns True.
Test that basic OrderedSet.__contains__ functionality works.
“Test basic OrderedSet instantiation.
“Test that OrderedSet instantiation removes duplicates.
Test that OrderedSet.discard(known) returns True.
Test that OrderedSet.discard(unknown) returns False.
Test that OrderedSet-to-other-iterable equality returns False.
Test that OrderedSet equality accounts for order.
Test that OrderedSet.pop() returns the final item.
Test that OrderedSet.pop(last=False) returns the first item.
Test that reversed(OrderedSet()) reverses correctly.