Commit 9795bb85d933b0bb3bd1487d72040cd11d6a5cd6
1 parent
9b41db9a
Fix minor issues reported by Flake8
Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -178,7 +178,7 @@ def test_tender_data_limited(intervals, procurement_method_type): | @@ -178,7 +178,7 @@ def test_tender_data_limited(intervals, procurement_method_type): | ||
| 178 | cause = fake.random_element(cause_variants) | 178 | cause = fake.random_element(cause_variants) |
| 179 | data.update({"cause": cause}) | 179 | data.update({"cause": cause}) |
| 180 | if procurement_method_type == "negotiation" \ | 180 | if procurement_method_type == "negotiation" \ |
| 181 | - or procurement_method_type == "negotiation.quick": | 181 | + or procurement_method_type == "negotiation.quick": |
| 182 | data.update({ | 182 | data.update({ |
| 183 | "procurementMethodDetails": "quick, accelerator=1440", | 183 | "procurementMethodDetails": "quick, accelerator=1440", |
| 184 | "causeDescription": fake.sentence(nb_words=10, variable_nb_words=True) | 184 | "causeDescription": fake.sentence(nb_words=10, variable_nb_words=True) |
| @@ -409,11 +409,11 @@ def test_change_cancellation_document_field_data(key, value): | @@ -409,11 +409,11 @@ def test_change_cancellation_document_field_data(key, value): | ||
| 409 | }) | 409 | }) |
| 410 | 410 | ||
| 411 | 411 | ||
| 412 | -def test_confirm_data(ID): | 412 | +def test_confirm_data(id): |
| 413 | return munchify({ | 413 | return munchify({ |
| 414 | "data": { | 414 | "data": { |
| 415 | "status": "active", | 415 | "status": "active", |
| 416 | - "id": ID | 416 | + "id": id |
| 417 | } | 417 | } |
| 418 | }) | 418 | }) |
| 419 | 419 |
Please
register
or
login
to post a comment