File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1515
1616import re
1717import requests
18+ import pytest
19+ from sys import platform
1820
1921
22+ @pytest .mark .skipif (
23+ platform == "darwin" ,
24+ reason = "on macOS the user is prompted to install certificates" ,
25+ )
2026def test_version (base_url , agent ):
2127
2228 resp = requests .get (f"{ base_url } /info" )
Original file line number Diff line number Diff line change 1414# along with this program. If not, see <https://www.gnu.org/licenses/>.
1515
1616import requests
17+ import pytest
18+ from sys import platform
1719
1820
21+ @pytest .mark .skipif (
22+ platform == "darwin" ,
23+ reason = "on macOS the user is prompted to install certificates" ,
24+ )
1925def test_get_tools (base_url , agent ):
2026
2127 resp = requests .get (f"{ base_url } /v2/pkgs/tools/installed" )
Original file line number Diff line number Diff line change 1717import json
1818import base64
1919import pytest
20+ from sys import platform
2021
2122from common import running_on_ci
2223message = []
2324
2425
26+ @pytest .mark .skipif (
27+ platform == "darwin" ,
28+ reason = "on macOS the user is prompted to install certificates" ,
29+ )
2530def test_ws_connection (socketio ):
2631 print ('my sid is' , socketio .sid )
2732 assert socketio .sid is not None
2833
2934
35+ @pytest .mark .skipif (
36+ platform == "darwin" ,
37+ reason = "on macOS the user is prompted to install certificates" ,
38+ )
3039def test_list (socketio , message ):
3140 socketio .emit ('command' , 'list' )
3241 time .sleep (.2 )
You can’t perform that action at this time.
0 commit comments