Example #1
0
 def test_add_to_back_returns_self(self):
     obj = Mobject()
     self.assertEqual(obj, obj.add_to_back())
Example #2
0
 def test_add_self_to_back_fails(self):
     obj = Mobject()
     with self.assertRaises(Exception):
         obj.add_to_back(obj)