def setUp(self):
     self.competition = Competition.load(TEST_COMPETITION_TREE)
 def test_load_with_unknown_format(self):
     with self.assertRaises(CompetitionFormatError):
         competition = Competition.load({}, data_format="xml")
     with self.assertRaises(CompetitionFormatError):
         competition = Competition.load({}, data_format="soap")