def test_gc_check_game_bad_game(self):
     g = GameController()
     with self.assertRaises(ValueError):
         response_object = {
             "bulls": None,
             "cows": None,
             "analysis": None,
             "status": None
         }
         g.game = None
         g._check_game_on(response_object=response_object)
 def test_gc_guess_no_game(self):
     g = GameController()
     g.game = None
     with self.assertRaises(ValueError):
         g.guess(1, 2, 3, 4)