Пример #1
0
def test_false_check_if_this_actor_worked_with():
    actor1 = Actor("Steve Carell")
    actor2 = Actor("Amy Adams")
    assert actor1.check_if_this_actor_worked_with(actor2) is False
Пример #2
0
def test_false_2_check_if_this_actor_worked_with():
    actor1 = Actor("Steve Carell")
    actor2 = Actor("Amy Adams")
    actor3 = Actor("Jack Black")
    actor1.add_actor_colleague(actor2)
    assert actor1.check_if_this_actor_worked_with(actor3) is False
Пример #3
0
def test_check_if_this_actor_worked_with():
    actor1 = Actor("Steve Carell")
    actor2 = Actor("Amy Adams")
    actor1.add_actor_colleague(actor2)
    assert actor1.check_if_this_actor_worked_with(actor2) is True