MCPcopy
hub / github.com/docker/docker-py / test_include_wildcard

Method test_include_wildcard

tests/unit/utils_build_test.py:304–311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

302 )
303
304 def test_include_wildcard(self):
305 # This may be surprising but it matches the CLI's behavior
306 # (tested with 18.05.0-ce on linux)
307 base = make_tree(['a'], ['a/b.py'])
308 assert exclude_paths(
309 base,
310 ['*', '!*/b.py']
311 ) == set()
312
313 def test_last_line_precedence(self):
314 base = make_tree(

Callers

nothing calls this directly

Calls 2

exclude_pathsFunction · 0.90
make_treeFunction · 0.85

Tested by

no test coverage detected