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

Method test_last_line_precedence

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

Source from the content-addressed store, hash-verified

311 ) == set()
312
313 def test_last_line_precedence(self):
314 base = make_tree(
315 [],
316 ['garbage.md',
317 'trash.md',
318 'README.md',
319 'README-bis.md',
320 'README-secret.md'])
321 assert exclude_paths(
322 base,
323 ['*.md', '!README*.md', 'README-secret.md']
324 ) == {'README.md', 'README-bis.md'}
325
326 def test_parent_directory(self):
327 base = make_tree(

Callers

nothing calls this directly

Calls 2

exclude_pathsFunction · 0.90
make_treeFunction · 0.85

Tested by

no test coverage detected