File tree 2 files changed +2
-25
lines changed
2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,9 @@ def docker_compose_file() -> str:
28
28
"""
29
29
30
30
if _running_in_travis_ci ():
31
- print ('Skipping' )
32
31
pytest .skip ('Docker hub reports rate limit errors on pulls from Travis CI servers' )
33
- print ('Failed to skip' )
34
- else :
35
- print ('Will not skip' )
36
-
37
- print ('PATH is ' + repr (os .getenv ('PATH' )))
32
+ elif sys .platform != 'linux' :
33
+ pytest .skip ("No IPFS server build for Windows; Travis doesn't support Docker on mac" )
38
34
39
35
return str (TEST_DIR .joinpath ('docker-compose.yml' ))
40
36
Original file line number Diff line number Diff line change 1
1
2
- import pytest
3
- import sys
4
2
5
-
6
- @pytest .mark .skipif (
7
- sys .platform != 'linux' ,
8
- reason = "No IPFS server build for Windows; Travis doesn't support Docker on mac"
9
- )
10
3
def test_basic_auth (ipfs_service_client ):
11
4
"""
12
5
Validate that client can connect to an IPFS api that is secured
@@ -17,15 +10,3 @@ def test_basic_auth(ipfs_service_client):
17
10
18
11
# Matches version in test/functional/docker-compose.yml
19
12
assert response ['Version' ] == '0.8.0'
20
-
21
-
22
- @pytest .mark .skip
23
- def test_print_env ():
24
- import os
25
-
26
- msg = '\n ' .join (k + ': ' + os .environ .get (k ) for k in sorted (os .environ .keys ()))
27
-
28
- print ('Environment:' )
29
- print (msg )
30
-
31
- assert False
You can’t perform that action at this time.
0 commit comments