Commit cc480bd3766e59c8450fe650c66c4744faa5abd4

Authored by oleg.stasiv
1 parent c5fafe48

Add value between min and max value.

Max - tender's value amount
... ... @@ -663,8 +663,7 @@ def test_bid_data_pq(data):
663 663 if requirement.get('expectedValue'):
664 664 value = requirement.get('expectedValue')
665 665 else:
666   - value = requirement.get('minValue')
667   -
  666 + value = fake.random_int(min=int(requirement.get('minValue')), max=int(data['value']['amount']))
668 667 requirement = {
669 668 "requirement": {"id": requirement['id']},
670 669 "value": value
... ...
Please register or login to post a comment