def test_has_calls_raises_with_bad_inputs(self): with self.assertRaises(Exception): variant_utils.has_calls(None)
def test_has_calls(self, variant, expected): self.assertEqual(variant_utils.has_calls(variant), expected)