@@ -30,10 +30,10 @@ jobs:
3030 - script : python -m pip install --upgrade pip && pip --version
3131 displayName : ' Install/upgrade pip'
3232
33- - script : pip install seleniumbase
33+ - script : python -m pip install seleniumbase
3434 displayName : ' Verify install from PyPI'
3535
36- - script : pip install -r requirements.txt --upgrade
36+ - script : python -m pip install -r requirements.txt --upgrade
3737 displayName : ' Install dependencies'
3838
3939 - script : python setup.py install
@@ -53,13 +53,13 @@ jobs:
5353 pytest nothing.py
5454 displayName: 'Make sure pytest is working'
5555
56- - script : pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
56+ - script : python -m pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
5757 displayName : ' Run pytest boilerplate_test.py --browser=chrome --headless'
5858
59- - script : pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
59+ - script : python -m pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
6060 displayName : ' Run pytest my_first_test.py --browser=chrome --headless'
6161
62- - script : pytest examples/test_inspect_html.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
62+ - script : python -m pytest examples/test_inspect_html.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
6363 displayName : ' Run pytest test_inspect_html.py --browser=chrome --headless'
6464
6565 - task : PublishTestResults@2
0 commit comments