Skip to content

Commit

Permalink
Not that useful, but adding for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Dec 5, 2020
1 parent 0902d93 commit 1d3d1ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testfixtures/tests/test_sequencecomparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ def test_unequal_wrong_order(self):
'</SequenceComparison(ordered=True, partial=False)>'
))

def test_partial_nothing_specified(self):
s = SequenceComparison(partial=True)
assert s == {}

def test_partial_wrong_type(self):
s = SequenceComparison(partial=True)
assert s != object()


class TestSubset(object):

Expand Down

0 comments on commit 1d3d1ea

Please sign in to comment.