def test_check_for_st_tots_achieved(self): # stubbing out attributes to trigger the else condition arsenal = st_tots.Team('Arsenal', TOTSTESTS.table_soup) arsenal.points = 100 spurs = st_tots.Team('Tottenham Hotspur', TOTSTESTS.table_soup) spurs.points = 0 self.assertTrue(st_tots.st_tots(arsenal, spurs))
def test_check_for_st_tots_not_achieved(self): self.assertFalse(st_tots.st_tots(TOTSTESTS.arsenal, TOTSTESTS.spurs))