Commit 974eb800c7cab17442ccd6bf14a47770c36eb312
Committed by
GitHub
Merge pull request #755 from ivanka12/master
change generation deliveryDate and remove claim tags from argument files
Showing
5 changed files
with
4 additions
and
27 deletions
@@ -453,10 +453,11 @@ def test_item_data(cpv=None): | @@ -453,10 +453,11 @@ def test_item_data(cpv=None): | ||
453 | data["description"] = field_with_id("i", data["description"]) | 453 | data["description"] = field_with_id("i", data["description"]) |
454 | data["description_en"] = field_with_id("i", data["description_en"]) | 454 | data["description_en"] = field_with_id("i", data["description_en"]) |
455 | data["description_ru"] = field_with_id("i", data["description_ru"]) | 455 | data["description_ru"] = field_with_id("i", data["description_ru"]) |
456 | - days = fake.random_int(min=1, max=30) | 456 | + startDate = fake.random_int(min=1, max=30) |
457 | + endDate = startDate + fake.random_int(min=1, max=7) | ||
457 | data["deliveryDate"] = { | 458 | data["deliveryDate"] = { |
458 | - "startDate": (get_now() + timedelta(days=days)).astimezone(TZ).isoformat(), | ||
459 | - "endDate": (get_now() + timedelta(days=days)).astimezone(TZ).isoformat() | 459 | + "startDate": (get_now() + timedelta(days=startDate)).replace(hour=0, minute=0, second=0, microsecond=0).isoformat(), |
460 | + "endDate": (get_now() + timedelta(days=endDate)).replace(hour=0, minute=0, second=0, microsecond=0).isoformat() | ||
460 | } | 461 | } |
461 | data["deliveryAddress"]["countryName_en"] = translate_country_en(data["deliveryAddress"]["countryName"]) | 462 | data["deliveryAddress"]["countryName_en"] = translate_country_en(data["deliveryAddress"]["countryName"]) |
462 | data["deliveryAddress"]["countryName_ru"] = translate_country_ru(data["deliveryAddress"]["countryName"]) | 463 | data["deliveryAddress"]["countryName_ru"] = translate_country_ru(data["deliveryAddress"]["countryName"]) |
@@ -42,16 +42,6 @@ | @@ -42,16 +42,6 @@ | ||
42 | -i modify_tender_after_questions | 42 | -i modify_tender_after_questions |
43 | -i modify_lot_after_questions | 43 | -i modify_lot_after_questions |
44 | 44 | ||
45 | --i create_tender_claim | ||
46 | - -i answer_tender_claim | ||
47 | - -i resolve_tender_claim | ||
48 | --i modify_tender_after_claim | ||
49 | - | ||
50 | --i create_lot_claim | ||
51 | - -i answer_lot_claim | ||
52 | - -i resolve_lot_claim | ||
53 | --i modify_lot_after_claim | ||
54 | - | ||
55 | -i make_bid_without_related_lot | 45 | -i make_bid_without_related_lot |
56 | -i make_bid_by_provider | 46 | -i make_bid_by_provider |
57 | -i add_doc_to_bid_by_provider | 47 | -i add_doc_to_bid_by_provider |
@@ -40,16 +40,6 @@ | @@ -40,16 +40,6 @@ | ||
40 | -i modify_tender_after_questions | 40 | -i modify_tender_after_questions |
41 | -i modify_lot_after_questions | 41 | -i modify_lot_after_questions |
42 | 42 | ||
43 | --i create_tender_claim | ||
44 | - -i answer_tender_claim | ||
45 | - -i resolve_tender_claim | ||
46 | --i modify_tender_after_claim | ||
47 | - | ||
48 | --i create_lot_claim | ||
49 | - -i answer_lot_claim | ||
50 | - -i resolve_lot_claim | ||
51 | --i modify_lot_after_claim | ||
52 | - | ||
53 | -i make_bid_without_related_lot | 43 | -i make_bid_without_related_lot |
54 | -i make_bid_without_parameters | 44 | -i make_bid_without_parameters |
55 | -i make_bid_by_provider | 45 | -i make_bid_by_provider |
@@ -42,12 +42,10 @@ | @@ -42,12 +42,10 @@ | ||
42 | 42 | ||
43 | -i create_tender_claim | 43 | -i create_tender_claim |
44 | -i answer_tender_claim | 44 | -i answer_tender_claim |
45 | - -i resolve_tender_claim | ||
46 | -i modify_tender_after_claim | 45 | -i modify_tender_after_claim |
47 | 46 | ||
48 | -i create_lot_claim | 47 | -i create_lot_claim |
49 | -i answer_lot_claim | 48 | -i answer_lot_claim |
50 | - -i resolve_lot_claim | ||
51 | -i modify_lot_after_claim | 49 | -i modify_lot_after_claim |
52 | 50 | ||
53 | -i make_bid_without_related_lot | 51 | -i make_bid_without_related_lot |
@@ -42,12 +42,10 @@ | @@ -42,12 +42,10 @@ | ||
42 | 42 | ||
43 | -i create_tender_claim | 43 | -i create_tender_claim |
44 | -i answer_tender_claim | 44 | -i answer_tender_claim |
45 | - -i resolve_tender_claim | ||
46 | -i modify_tender_after_claim | 45 | -i modify_tender_after_claim |
47 | 46 | ||
48 | -i create_lot_claim | 47 | -i create_lot_claim |
49 | -i answer_lot_claim | 48 | -i answer_lot_claim |
50 | - -i resolve_lot_claim | ||
51 | -i modify_lot_after_claim | 49 | -i modify_lot_after_claim |
52 | 50 | ||
53 | -i make_bid_without_related_lot | 51 | -i make_bid_without_related_lot |
Please
register
or
login
to post a comment