Commit f1c98e7b016a86caab387b7fb2bf35b36020fd80
Merge pull request #151 from Leits/auctionbid
Del auction_bid and set_tender_periods
Showing
2 changed files
with
0 additions
and
21 deletions
... | ... | @@ -538,18 +538,6 @@ def test_lots_bid_data(): |
538 | 538 | return bid |
539 | 539 | |
540 | 540 | |
541 | -def auction_bid(): | |
542 | - return munchify({ | |
543 | - "data": { | |
544 | - "value": { | |
545 | - "amount": 200, | |
546 | - "currency": "UAH", | |
547 | - "valueAddedTaxIncluded": True | |
548 | - } | |
549 | - } | |
550 | - }) | |
551 | - | |
552 | - | |
553 | 541 | def test_supplier_data(): |
554 | 542 | return munchify({ |
555 | 543 | "data": { | ... | ... |
... | ... | @@ -16,7 +16,6 @@ from robot.output.loggerhelper import Message |
16 | 16 | # can access them by simply importing library "service_keywords". |
17 | 17 | # Please ignore the warning given by Flake8 or other linter. |
18 | 18 | from .initial_data import ( |
19 | - auction_bid, | |
20 | 19 | create_fake_doc, |
21 | 20 | create_fake_sentence, |
22 | 21 | test_additional_items_data, |
... | ... | @@ -262,14 +261,6 @@ def run_keyword_and_ignore_keyword_definitions(name, *args, **kwargs): |
262 | 261 | return status, _ |
263 | 262 | |
264 | 263 | |
265 | -def set_tender_periods(tender): | |
266 | - now = get_now() | |
267 | - tender.data.enquiryPeriod.endDate = (now + timedelta(minutes=2)).isoformat() | |
268 | - tender.data.tenderPeriod.startDate = (now + timedelta(minutes=2)).isoformat() | |
269 | - tender.data.tenderPeriod.endDate = (now + timedelta(minutes=4)).isoformat() | |
270 | - return tender | |
271 | - | |
272 | - | |
273 | 264 | def set_access_key(tender, access_token): |
274 | 265 | tender.access = munchify({"token": access_token}) |
275 | 266 | return tender | ... | ... |
Please
register
or
login
to post a comment