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,18 +538,6 @@ def test_lots_bid_data(): | ||
538 | return bid | 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 | def test_supplier_data(): | 541 | def test_supplier_data(): |
554 | return munchify({ | 542 | return munchify({ |
555 | "data": { | 543 | "data": { |
@@ -16,7 +16,6 @@ from robot.output.loggerhelper import Message | @@ -16,7 +16,6 @@ from robot.output.loggerhelper import Message | ||
16 | # can access them by simply importing library "service_keywords". | 16 | # can access them by simply importing library "service_keywords". |
17 | # Please ignore the warning given by Flake8 or other linter. | 17 | # Please ignore the warning given by Flake8 or other linter. |
18 | from .initial_data import ( | 18 | from .initial_data import ( |
19 | - auction_bid, | ||
20 | create_fake_doc, | 19 | create_fake_doc, |
21 | create_fake_sentence, | 20 | create_fake_sentence, |
22 | test_additional_items_data, | 21 | test_additional_items_data, |
@@ -262,14 +261,6 @@ def run_keyword_and_ignore_keyword_definitions(name, *args, **kwargs): | @@ -262,14 +261,6 @@ def run_keyword_and_ignore_keyword_definitions(name, *args, **kwargs): | ||
262 | return status, _ | 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 | def set_access_key(tender, access_token): | 264 | def set_access_key(tender, access_token): |
274 | tender.access = munchify({"token": access_token}) | 265 | tender.access = munchify({"token": access_token}) |
275 | return tender | 266 | return tender |
Please
register
or
login
to post a comment