Skip to content

Commit 6fb2e8d

Browse files
committed
chore(tests): mark e2e with skip
temporary workaround for VS Code test runner issues
1 parent 34bd0a0 commit 6fb2e8d

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tests/commands/test_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def test_info(mock_google_CallGAMCommand, mock_google_CallGYBCommand):
2323

2424

2525
@pytest.mark.e2e
26+
@pytest.mark.skip
2627
def test_info_e2e(capfd):
2728
res = info()
2829
captured = capfd.readouterr()

tests/services/test_google.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ def test_user_is_staff_checks_staff_group(mock_google_user_in_group):
262262

263263

264264
@pytest.mark.e2e
265+
@pytest.mark.skip
265266
def test_archive_user_exists(capfd):
266267
res = user_exists(USER_ARCHIVE)
267268
captured = capfd.readouterr()
@@ -272,6 +273,7 @@ def test_archive_user_exists(capfd):
272273

273274

274275
@pytest.mark.e2e
276+
@pytest.mark.skip
275277
def test_nonexistent_user_does_not_exist(capfd):
276278
username = f"nope_does_not_exist@{DOMAIN}"
277279
res = user_exists(username)
@@ -282,22 +284,26 @@ def test_nonexistent_user_does_not_exist(capfd):
282284

283285

284286
@pytest.mark.e2e
287+
@pytest.mark.skip
285288
def test_nonexistent_not_in_team():
286289
username = f"nope_does_not_exist@{DOMAIN}"
287290

288291
assert not user_in_group(username, GROUP_TEAM)
289292

290293

291294
@pytest.mark.e2e
295+
@pytest.mark.skip
292296
def test_archive_user_not_in_team():
293297
assert not user_in_group(USER_ARCHIVE, GROUP_TEAM)
294298

295299

296300
@pytest.mark.e2e
301+
@pytest.mark.skip
297302
def test_archive_user_is_not_partner():
298303
assert not user_is_partner(USER_ARCHIVE)
299304

300305

301306
@pytest.mark.e2e
307+
@pytest.mark.skip
302308
def test_archive_user_is_not_staff():
303309
assert not user_is_staff(USER_ARCHIVE)

tests/test_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ def test_main_user_signout_no_username(mock_commands_user):
528528

529529

530530
@pytest.mark.e2e
531+
@pytest.mark.skip
531532
def test_main_e2e(mocker):
532533
spy_info = mocker.spy(compiler_admin.main, "info")
533534
res = main(argv=[])
@@ -537,6 +538,7 @@ def test_main_e2e(mocker):
537538

538539

539540
@pytest.mark.e2e
541+
@pytest.mark.skip
540542
def test_run_compiler_admin(capfd):
541543
# call CLI command as a subprocess
542544
res = subprocess.call(["compiler-admin"])

0 commit comments

Comments
 (0)