MCPcopy Create free account
hub / github.com/clips/pattern / testHasKey

Method testHasKey

pattern/web/soup/BeautifulSoupTests.py:486–488  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

484 "Test attribute access"
485
486 def testHasKey(self):
487 text = "<foo attr='bar'>"
488 self.assertEquals(BeautifulSoup(text).foo.has_key('attr'), True)
489
490class QuoteMeOnThat(SoupTest):
491 "Test quoting"

Callers

nothing calls this directly

Calls 2

BeautifulSoupClass · 0.90
has_keyMethod · 0.45

Tested by

no test coverage detected