@@ -42,7 +42,7 @@ def test_get_task(
42
42
"http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
43
43
json = LATEST_LINUX ,
44
44
status = 200 ,
45
- ) # noqa
45
+ )
46
46
assert (
47
47
taskcluster .get_task (
48
48
"mozilla-central" , "b2a9a4bb5c94de179ae7a3f52fde58c0e2897498" , "linux"
@@ -55,7 +55,7 @@ def test_get_task(
55
55
"http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.916103b8675d9fdb28b891cac235d74f9f475942.firefox.win64-ccov-debug" ,
56
56
json = LATEST_WIN ,
57
57
status = 200 ,
58
- ) # noqa
58
+ )
59
59
assert (
60
60
taskcluster .get_task (
61
61
"mozilla-central" , "916103b8675d9fdb28b891cac235d74f9f475942" , "windows"
@@ -70,7 +70,7 @@ def test_get_task_not_found(mock_taskcluster, TASK_NOT_FOUND):
70
70
"http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
71
71
json = TASK_NOT_FOUND ,
72
72
status = 404 ,
73
- ) # noqa
73
+ )
74
74
75
75
assert (
76
76
taskcluster .get_task (
@@ -88,7 +88,7 @@ def test_get_task_failure(mock_taskcluster, TASK_NOT_FOUND):
88
88
"http://taskcluster.test/api/index/v1/task/gecko.v2.mozilla-central.revision.b2a9a4bb5c94de179ae7a3f52fde58c0e2897498.firefox.linux64-ccov-opt" ,
89
89
json = err ,
90
90
status = 500 ,
91
- ) # noqa
91
+ )
92
92
93
93
with pytest .raises (TaskclusterRestFailure , match = "Indexed task not found" ):
94
94
taskcluster .get_task (
@@ -116,14 +116,14 @@ def test_get_tasks_in_group(mock_taskcluster, GROUP_TASKS_1, GROUP_TASKS_2):
116
116
json = GROUP_TASKS_1 ,
117
117
status = 200 ,
118
118
match_querystring = True ,
119
- ) # noqa
119
+ )
120
120
responses .add (
121
121
responses .GET ,
122
122
"http://taskcluster.test/api/queue/v1/task-group/aPt9FbIdQwmhwDIPDYLuaw/list?continuationToken=1%2132%21YVB0OUZiSWRRd21od0RJUERZTHVhdw--~1%2132%21ZnJVcGRRT0VTalN0Nm9Ua1Ztcy04UQ--&limit=200" , # noqa
123
123
json = GROUP_TASKS_2 ,
124
124
status = 200 ,
125
125
match_querystring = True ,
126
- ) # noqa
126
+ )
127
127
128
128
assert (
129
129
list (taskcluster .get_tasks_in_group ("aPt9FbIdQwmhwDIPDYLuaw" ))
@@ -265,7 +265,7 @@ def test_get_platform(task_name, expected):
265
265
def test_download_artifact_forbidden (mocked_sleep , mock_taskcluster , tmpdir ):
266
266
responses .add (
267
267
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" ,
269
269
body = "xml error..." ,
270
270
status = 403 ,
271
271
)
@@ -287,7 +287,7 @@ def test_download_artifact_forbidden(mocked_sleep, mock_taskcluster, tmpdir):
287
287
def test_download_artifact_badzip (mocked_sleep , mock_taskcluster , tmpdir ):
288
288
responses .add (
289
289
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" ,
291
291
body = "NOT A ZIP FILE" ,
292
292
status = 200 ,
293
293
stream = True ,
0 commit comments