Skip to content

Commit 5c80f7b

Browse files
committed
tests: remove broken temp_queue test
temp_queue downloads were reverted in 32.0.2, and while the test was partially kept, it didn't do anything, which was made obvious by python/cpython#100690, when the call to `called_once_with` started raising.
1 parent 3a53ebd commit 5c80f7b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/test_context.py

-9
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@ async def test_set_reset_task(rw_context, claim_task, reclaim_task):
7878
assert rw_context.temp_queue is None
7979

8080

81-
def test_temp_queue(rw_context, mocker):
82-
mocker.patch("taskcluster.aio.Queue")
83-
rw_context.session = {"c": "d"}
84-
rw_context.temp_credentials = {"a": "b"}
85-
assert taskcluster.aio.Queue.called_once_with(
86-
options={"rootUrl": rw_context.config["taskcluster_root_url"], "credentials": rw_context.temp_credentials}, session=rw_context.session
87-
)
88-
89-
9081
@pytest.mark.asyncio
9182
async def test_projects(rw_context, mocker):
9283
fake_projects = {"mozilla-central": "blah", "count": 0}

0 commit comments

Comments
 (0)