MCPcopy Create free account
hub / github.com/apify/crawlee-python / test_asterisk

Function test_asterisk

tests/unit/_utils/test_globs.py:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def test_asterisk() -> None:
7 glob = Glob('foo/*')
8 assert glob.regexp.match('bar/') is None
9 assert glob.regexp.match('foo/bar') is not None
10 assert glob.regexp.match('foo/bar/baz') is None
11
12
13def test_double_asteritsk() -> None:

Callers

nothing calls this directly

Calls 1

GlobClass · 0.90

Tested by

no test coverage detected