Lines Matching refs:assertNotHasAttr
405 def assertNotHasAttr(self, obj, name): member in ClassPropertiesAndMethods
596 self.assertNotHasAttr(a, "x")
945 self.assertNotHasAttr(a, "foo")
952 self.assertNotHasAttr(object(), "__dict__")
967 self.assertNotHasAttr(x, "__dict__")
968 self.assertNotHasAttr(x, "foo")
973 self.assertNotHasAttr(x, "__dict__")
974 self.assertNotHasAttr(x, "a")
980 self.assertNotHasAttr(x, "a")
985 self.assertNotHasAttr(x, "__dict__")
986 self.assertNotHasAttr(x, 'a')
987 self.assertNotHasAttr(x, 'b')
988 self.assertNotHasAttr(x, 'c')
1004 self.assertNotHasAttr(x, '__dict__')
1005 self.assertNotHasAttr(x, '__a')
1177 self.assertNotHasAttr(a, "__weakref__")
1185 self.assertNotHasAttr(a, "__dict__")
1253 self.assertNotHasAttr(a, "foobar")
1263 self.assertNotHasAttr(a, "spam")
1533 self.assertNotHasAttr(a, 'x')
2031 self.assertNotHasAttr(a, "x")
2036 self.assertNotHasAttr(a, "x")
2037 self.assertNotHasAttr(a, "_C__x")
2041 self.assertNotHasAttr(a, "x")
2120 self.assertNotHasAttr(c, "foo")
2126 self.assertNotHasAttr(c, '_foo')
2127 self.assertNotHasAttr(c, "foo")
3410 self.assertNotHasAttr(y, 'a')
3412 self.assertNotHasAttr(y, 'a')
3731 self.assertNotHasAttr(m, "__name__")
3732 self.assertNotHasAttr(m, "__file__")
3733 self.assertNotHasAttr(m, "foo")
4446 self.assertNotHasAttr(c, 'attr')