def test_podcast_repr(self): test = Podcast("name", 12, "ss", ["ab", "cd", "ef"]) self.assertEqual( "name: name, Audio type: podcast, Host:ss, participants: [ab, cd, ef]", test.__repr__() )
def test_podcast_participants_list_optional(self): test = Podcast("Test", 12, "ss") self.assertEqual( "name: Test, Audio type: podcast, Host:ss, participants: []", test.__repr__() ) self.assertCountEqual([], test.participants)