Esempio n. 1
0
 def test_matches_internal_method_name(self):
     self.assertTrue(_is_internal_name("__internal"))
Esempio n. 2
0
 def test_does_not_match_mangled_method_name(self):
     self.assertFalse(_is_internal_name("_ClassName__internal"))
Esempio n. 3
0
 def test_does_not_match_special_method_name(self):
     self.assertFalse(_is_internal_name("__special__"))
Esempio n. 4
0
 def test_does_not_match_nonpublic_method_name(self):
     self.assertFalse(_is_internal_name("_nonpublic"))
 def test_matches_internal_method_name(self):
     self.assertTrue(_is_internal_name("__internal"))
 def test_does_not_match_special_method_name(self):
     self.assertFalse(_is_internal_name("__special__"))
 def test_does_not_match_mangled_method_name(self):
     self.assertFalse(_is_internal_name("_ClassName__internal"))
 def test_does_not_match_nonpublic_method_name(self):
     self.assertFalse(_is_internal_name("_nonpublic"))