Beispiel #1
0
def test_true(user):
    assert compare(user, user)
Beispiel #2
0
def test_false(user, tag_model):
    assert not compare(user, tag_model)
Beispiel #3
0
def test_false_because_missing_dunder_dict(user):
    assert not compare(user, 'i am a string and do not have __dict__')
    assert not compare('i am a string and do not have __dict__', user)