def test_tv_show_remove_actor(): tv_show1 = TV_Show("Sailor Moon: Crystal", 2014) actor1 = Actor("Kotono Mitsuishi") actor2 = Actor("Amanda Celine Miller") tv_show1.add_actor(actor1) tv_show1.add_actor(actor2) tv_show1.remove_actor(actor1) assert tv_show1.return_actor() == [actor2]
def test_tv_show_add_actor(): tv_show1 = TV_Show("Sailor Moon: Crystal", 2014) actor1 = Actor("Kotono Mitsuishi") tv_show1.add_actor(actor1) assert tv_show1.return_actor() == [actor1]