Exemplo n.º 1
0
 def testThrows404ForRound0(self):
     view = ResultsTableView()
     with self.assertRaises(Http404):
         view.get(None, 0)
Exemplo n.º 2
0
 def testThrows404ForTooHighRound(self):
     tournament = Tournament.instance()
     tournament.save()
     view = ResultsTableView()
     with self.assertRaises(Http404):
         view.get(None, 2)