-
- Downloads
tests: Exercise the new multiple cache support
This adds a new test for parsing artifact cache configuration, which calls the helper function from the 'artifactcache' module directly rather than trying to assert based on blind push and pull commands whether or not we got the complex precedence rules exactly right. This means frontend push/pull tests no longer need to be so thorough about testing precedence but they are instead expanded to assert that multiple caches work correctly.
Showing
- tests/artifactcache/config.py 106 additions, 0 deletionstests/artifactcache/config.py
- tests/frontend/pull.py 85 additions, 76 deletionstests/frontend/pull.py
- tests/frontend/push.py 56 additions, 23 deletionstests/frontend/push.py
- tests/testutils/__init__.py 1 addition, 1 deletiontests/testutils/__init__.py
- tests/testutils/artifactshare.py 0 additions, 32 deletionstests/testutils/artifactshare.py
Loading
Please register or sign in to comment