File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,11 @@ def _running_in_travis_ci() -> bool:
6060
6161
6262@pytest .fixture (scope = 'session' )
63- def ipfs_service_auth () -> ty .Generator [ty .Tuple [str , str ], None , None ]:
64- if not _running_in_travis_ci ():
65- # Docker pull hits docker hub rate limits when running on Travis CI; avoiding the
66- # rate limit requires a Docker Hub account.
67- #
68- # Conditionally skip all tests using the docker-compose container if running in CI.
69- yield 'TheUser' , 'ThePassword'
63+ def ipfs_service_auth () -> ty .Tuple [str , str ]:
64+ if _running_in_travis_ci ():
65+ pytest .skip ('Docker hub reports rate limit errors on pulls from Travis CI servers' )
66+
67+ return 'TheUser' , 'ThePassword'
7068
7169
7270@pytest .fixture (scope = "function" )
You can’t perform that action at this time.
0 commit comments