def test_user_time_spent_watching_tv_shows_property(): tv_show1 = TV_Show("Sailor Moon: Crystal", 2014) tv_show1.number_of_episode = 30 tv_show1.runtime_minutes = 23 user1 = User("Jenna da Cruz", "testing123") user1.watch_tv_show(tv_show1) assert user1.time_spent_watching_tv_shows_minutes is 690
def test_user_watched_tv_shows_property(): tv_show1 = TV_Show("Sailor Moon: Crystal", 2014) user1 = User("Jenna da Cruz", "testing123") user1.watch_tv_show(tv_show1) assert user1.watched_tv_shows == [tv_show1]