Commit e6469362c90c2dc226dfcfaf6bff36ad4d12355b
1 parent
cc480bd3
fix issue "value of bid should be less than value of tender"
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -670,7 +670,7 @@ def test_bid_data_pq(data): |
670 | 670 | } |
671 | 671 | bid.data.requirementResponses.append(requirement) |
672 | 672 | bid.data['status'] = 'draft' |
673 | - bid.data.update(test_bid_value(1000, True)) | |
673 | + bid.data.update(test_bid_value(fake.random_int(min=1, max=int(data['value']['amount'])), True)) | |
674 | 674 | return bid |
675 | 675 | |
676 | 676 | ... | ... |
Please
register
or
login
to post a comment