@@ -42,7 +42,7 @@ def test_get_task(
4242 "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
4343 json = LATEST_LINUX ,
4444 status = 200 ,
45- ) # noqa
45+ )
4646 assert (
4747 taskcluster .get_task (
4848 "mozilla-central" , "b2a9a4bb5c94de179ae7a3f52fde58c0e2897498" , "linux"
@@ -55,7 +55,7 @@ def test_get_task(
5555 "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.916103b8675d9fdb28b891cac235d74f9f475942.firefox.win64-ccov-debug" ,
5656 json = LATEST_WIN ,
5757 status = 200 ,
58- ) # noqa
58+ )
5959 assert (
6060 taskcluster .get_task (
6161 "mozilla-central" , "916103b8675d9fdb28b891cac235d74f9f475942" , "windows"
@@ -70,7 +70,7 @@ def test_get_task_not_found(mock_taskcluster, TASK_NOT_FOUND):
7070 "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
7171 json = TASK_NOT_FOUND ,
7272 status = 404 ,
73- ) # noqa
73+ )
7474
7575 assert (
7676 taskcluster .get_task (
@@ -88,7 +88,7 @@ def test_get_task_failure(mock_taskcluster, TASK_NOT_FOUND):
8888 "http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
8989 json = err ,
9090 status = 500 ,
91- ) # noqa
91+ )
9292
9393 with pytest .raises (TaskclusterRestFailure , match = "Indexed task not found" ):
9494 taskcluster .get_task (
@@ -116,14 +116,14 @@ def test_get_tasks_in_group(mock_taskcluster, GROUP_TASKS_1, GROUP_TASKS_2):
116116 json = GROUP_TASKS_1 ,
117117 status = 200 ,
118118 match_querystring = True ,
119- ) # noqa
119+ )
120120 responses .add (
121121 responses .GET ,
122122 "http://taskcluster.test/api/queue/v1/task-group/aPt9FbIdQwmhwDIPDYLuaw/list?continuationToken=1%2132%21YVB0OUZiSWRRd21od0RJUERZTHVhdw--~1%2132%21ZnJVcGRRT0VTalN0Nm9Ua1Ztcy04UQ--&limit=200" , # noqa
123123 json = GROUP_TASKS_2 ,
124124 status = 200 ,
125125 match_querystring = True ,
126- ) # noqa
126+ )
127127
128128 assert (
129129 list (taskcluster .get_tasks_in_group ("aPt9FbIdQwmhwDIPDYLuaw" ))
@@ -265,7 +265,7 @@ def test_get_platform(task_name, expected):
265265def test_download_artifact_forbidden (mocked_sleep , mock_taskcluster , tmpdir ):
266266 responses .add (
267267 responses .GET ,
268- "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FBdocjnAQOW_GJDOfmgjxw/artifacts/public%2Ftest_info%2Fcode-coverage-grcov.zip" , # noqa
268+ "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FBdocjnAQOW_GJDOfmgjxw/artifacts/public%2Ftest_info%2Fcode-coverage-grcov.zip" ,
269269 body = "xml error..." ,
270270 status = 403 ,
271271 )
@@ -287,7 +287,7 @@ def test_download_artifact_forbidden(mocked_sleep, mock_taskcluster, tmpdir):
287287def test_download_artifact_badzip (mocked_sleep , mock_taskcluster , tmpdir ):
288288 responses .add (
289289 responses .GET ,
290- "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FBdocjnAQOW_GJDOfmgjxw/artifacts/public%2Ftest_info%2Fcode-coverage-grcov.zip" , # noqa
290+ "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FBdocjnAQOW_GJDOfmgjxw/artifacts/public%2Ftest_info%2Fcode-coverage-grcov.zip" ,
291291 body = "NOT A ZIP FILE" ,
292292 status = 200 ,
293293 stream = True ,
0 commit comments