Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Fix windows tests #143

Merged
merged 6 commits into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cookies tox
pip install pytest tox
pip install git+https://github.com/hackebrot/pytest-cookies.git@refs/pull/61/head

- name: Test
uses: GabrielBB/xvfb-action@v1
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toxworkdir = /tmp/.tox

[testenv]
deps = pytest
pytest-cookies
git+https://github.com/hackebrot/pytest-cookies.git@refs/pull/61/head
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we want to switch to this branch globally or only for windows?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm. Good question. I'm not sure. Maybe all tests, because it reflects the situation once--eventually--the upstream PR is merged? But I can see it either way.

tox
commands = pytest -v {posargs:tests}

Expand Down