Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clips/pattern
/ testFindAllByHash
Method
testFindAllByHash
pattern/web/soup/BeautifulSoupTests.py:78–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
self.assertEqual(len(matching), 3)
77
78
def
testFindAllByHash(self):
79
matching = self.soup({
'a'
: True,
'b'
: True})
80
self.assertEqual(len(matching), 4)
81
82
def
testFindAllText(self):
83
soup = BeautifulSoup(
"<html>\xbb</html>"
)
Callers
nothing calls this directly
Calls
1
len
Function · 0.85
Tested by
no test coverage detected