def testDifferentGroup(self):
   ret = instance_utils._ComputeIPolicyNodeViolation(
     NotImplemented,
     NotImplemented,
     "foo", "bar", NotImplemented,
     _compute_fn=self.recorder)
   self.assertTrue(self.recorder.called)
   self.assertEqual(ret, [])
 def testDifferentGroup(self):
   ret = instance_utils._ComputeIPolicyNodeViolation(
     NotImplemented,
     NotImplemented,
     "foo", "bar", NotImplemented,
     _compute_fn=self.recorder)
   self.assertTrue(self.recorder.called)
   self.assertEqual(ret, [])