예제 #1
0
 def test_is_object_supported_none(self):
     self.assertFalse(is_object_supported(None))
예제 #2
0
 def test_is_object_supported(self):
     self.assertTrue(is_object_supported(self.device))
     self.assertTrue(is_object_supported(self.device_type))
     self.assertFalse(is_object_supported(self.user))
     self.assertFalse(is_object_supported(self.group))
     self.assertFalse(is_object_supported(self.job))