Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gawel/pyquery
/ test_parameterless_callback
Method
test_parameterless_callback
tests/test_pyquery.py:376–381 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
374
)
375
376
def
test_parameterless_callback(self):
377
S = pq(self.html)
378
self.assertEqual(S(
'li'
).map(
379
lambda
: S(this).html()),
# NOQA
380
[
'Coffee'
,
'Tea'
,
'Milk'
]
381
)
382
383
384
class
TestHook(TestCase):
Callers
nothing calls this directly
Calls
2
map
Method · 0.80
html
Method · 0.80
Tested by
no test coverage detected