Showing
2 changed files
with
1 additions
and
5 deletions
... | ... | @@ -329,7 +329,7 @@ Library Selenium2Library |
329 | 329 | ${last_amount}= Get Text id=max_bid_amount_price |
330 | 330 | ${last_amount}= convert_amount_string_to_float ${last_amount} |
331 | 331 | ${extra_amount}= convert_amount_string_to_float ${extra_amount} |
332 | - ${last_amount}= add_and_round ${last_amount} ${extra_amount} | |
332 | + ${last_amount}= Evaluate ${last_amount}+${extra_amount} | |
333 | 333 | Поставити ставку ${last_amount} Надто висока заявка |
334 | 334 | |
335 | 335 | ... | ... |
... | ... | @@ -524,10 +524,6 @@ def mult_and_round(*args, **kwargs): |
524 | 524 | return round(reduce(operator.mul, args), kwargs.get('precision', 2)) |
525 | 525 | |
526 | 526 | |
527 | -def add_and_round(arg1, arg2): | |
528 | - return float(arg1 + arg2) | |
529 | - | |
530 | - | |
531 | 527 | def generate_test_bid_data_second_stage(tender_data, index='0'): |
532 | 528 | bid = test_bid_data() |
533 | 529 | if index.isdigit(): | ... | ... |
Please
register
or
login
to post a comment