def test_go_set_ttl_bad(self):
     go = GameObject()
     with self.assertRaises(TypeError):
         go.ttl = "120"
 def test_go_set_ttl_low(self):
     go = GameObject()
     with self.assertRaises(ValueError):
         go.ttl = 0
 def test_go_set_ttl(self):
     go = GameObject()
     go.ttl = 120
     self.assertEqual(go.ttl, 120)