class TestCompetition(unittest.TestCase): def setUp(self): self.competition = Competition(org_id='org-123123') def test_hello_world(self): self.competition.say_hello() == "Hello, World" def test_new_competition_requires_org_id(self): with pytest.raises(TypeError): Competition()