File tree 3 files changed +21
-0
lines changed
3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
import re
17
17
import requests
18
+ import pytest
19
+ from sys import platform
18
20
19
21
22
+ @pytest .mark .skipif (
23
+ platform == "darwin" ,
24
+ reason = "on macOS the user is prompted to install certificates" ,
25
+ )
20
26
def test_version (base_url , agent ):
21
27
22
28
resp = requests .get (f"{ base_url } /info" )
Original file line number Diff line number Diff line change 14
14
# along with this program. If not, see <https://www.gnu.org/licenses/>.
15
15
16
16
import requests
17
+ import pytest
18
+ from sys import platform
17
19
18
20
21
+ @pytest .mark .skipif (
22
+ platform == "darwin" ,
23
+ reason = "on macOS the user is prompted to install certificates" ,
24
+ )
19
25
def test_get_tools (base_url , agent ):
20
26
21
27
resp = requests .get (f"{ base_url } /v2/pkgs/tools/installed" )
Original file line number Diff line number Diff line change 17
17
import json
18
18
import base64
19
19
import pytest
20
+ from sys import platform
20
21
21
22
from common import running_on_ci
22
23
message = []
23
24
24
25
26
+ @pytest .mark .skipif (
27
+ platform == "darwin" ,
28
+ reason = "on macOS the user is prompted to install certificates" ,
29
+ )
25
30
def test_ws_connection (socketio ):
26
31
print ('my sid is' , socketio .sid )
27
32
assert socketio .sid is not None
28
33
29
34
35
+ @pytest .mark .skipif (
36
+ platform == "darwin" ,
37
+ reason = "on macOS the user is prompted to install certificates" ,
38
+ )
30
39
def test_list (socketio , message ):
31
40
socketio .emit ('command' , 'list' )
32
41
time .sleep (.2 )
You can’t perform that action at this time.
0 commit comments