MCPcopy Index your code
hub / github.com/docker/docker-py / test_no_dupes

Method test_no_dupes

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

Source from the content-addressed store, hash-verified

75 assert self.exclude(['']) == convert_paths(self.all_paths)
76
77 def test_no_dupes(self):
78 paths = exclude_paths(self.base, ['!a.py'])
79 assert sorted(paths) == sorted(set(paths))
80
81 def test_wildcard_exclude(self):
82 assert self.exclude(['*']) == {'Dockerfile', '.dockerignore'}

Callers

nothing calls this directly

Calls 1

exclude_pathsFunction · 0.90

Tested by

no test coverage detected