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_tv_show_fail_runtime_property():
    tv_show1 = TV_Show("Sailor Moon: Crystal", 2014)
    tv_show1.number_of_episode = 30
    with pytest.raises(ValueError):
        tv_show1.runtime_minutes = -2
    assert tv_show1.runtime_minutes is None
def test_tv_show_runtime_property():
    tv_show1 = TV_Show("Sailor Moon: Crystal", 2014)
    tv_show1.number_of_episode = 30
    tv_show1.runtime_minutes = 23
    assert tv_show1.runtime_minutes == 690