Exemplo n.º 1
0
 def test_setting_color_without_color(self):
     Outline._set_color(self.outline_mock, None)
     self.assertIsNone(self.outline_mock.color)
Exemplo n.º 2
0
 def test_setting_color_with_color_provided(self):
     Outline._set_color(self.outline_mock, '#000')
     self.assertEqual(self.outline_mock.color, (0, 0, 0))