Skip to content

Commit 726e856

Browse files
committed
TMP - test respx calls on Win
1 parent 19e1382 commit 726e856

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@ jobs:
2525
test:
2626
strategy:
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: windows-latest #[ ubuntu-latest, windows-latest, macos-latest ]
2929
python-version: ["3.14"]
3030
uv-resolution:
3131
- highest
32-
include:
33-
- python-version: "3.9"
34-
os: macos-latest
35-
uv-resolution: lowest-direct
36-
- python-version: "3.10"
37-
os: ubuntu-latest
38-
uv-resolution: highest
39-
- python-version: "3.11"
40-
os: windows-latest
41-
uv-resolution: lowest-direct
42-
- python-version: "3.12"
43-
os: macos-latest
44-
uv-resolution: highest
45-
- python-version: "3.13"
46-
os: ubuntu-latest
47-
uv-resolution: lowest-direct
48-
- python-version: "3.13"
49-
os: windows-latest
50-
uv-resolution: highest
32+
# include:
33+
# - python-version: "3.9"
34+
# os: macos-latest
35+
# uv-resolution: lowest-direct
36+
# - python-version: "3.10"
37+
# os: ubuntu-latest
38+
# uv-resolution: highest
39+
# - python-version: "3.11"
40+
# os: windows-latest
41+
# uv-resolution: lowest-direct
42+
# - python-version: "3.12"
43+
# os: macos-latest
44+
# uv-resolution: highest
45+
# - python-version: "3.13"
46+
# os: ubuntu-latest
47+
# uv-resolution: lowest-direct
48+
# - python-version: "3.13"
49+
# os: windows-latest
50+
# uv-resolution: highest
5151
fail-fast: false
5252
runs-on: ${{ matrix.os }}
5353
env:

tests/test_cli_link.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_shows_error_on_apps_api_failure(
146146
def test_links_with_multiple_teams_and_apps(
147147
logged_in_cli: None, respx_mock: respx.MockRouter, tmp_path: Path
148148
) -> None:
149-
steps = [Keys.DOWN_ARROW, Keys.ENTER, Keys.DOWN_ARROW, Keys.ENTER]
149+
steps = [Keys.DOWN_ARROW, Keys.ENTER, Keys.DOWN_ARROW, Keys.DOWN_ARROW, Keys.ENTER]
150150

151151
respx_mock.get("/teams/").mock(
152152
return_value=Response(
@@ -178,7 +178,7 @@ def test_links_with_multiple_teams_and_apps(
178178
mock_getchar.side_effect = steps
179179
result = runner.invoke(app, ["link"])
180180

181-
assert result.exit_code == 0
181+
assert result.exit_code == 0, respx_mock.calls
182182
assert "Successfully linked to app" in result.output
183183
assert "second-app" in result.output
184184

0 commit comments

Comments
 (0)