Commit d00ff526113f8942426e327df13fa0951c834b14
Merge pull request #70 from Leits/pyint
fake integer in bid for multilot
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -559,7 +559,7 @@ def test_lots_bid_data(): | @@ -559,7 +559,7 @@ def test_lots_bid_data(): | ||
559 | { | 559 | { |
560 | "value": { | 560 | "value": { |
561 | "currency": "UAH", | 561 | "currency": "UAH", |
562 | - "amount": 1000 + fake.pyfloat(left_digits=3, right_digits=0, positive=True), | 562 | + "amount": fake.random_int(max=1999), |
563 | "valueAddedTaxIncluded": "true" | 563 | "valueAddedTaxIncluded": "true" |
564 | }, | 564 | }, |
565 | "relatedLot": "3c8f387879de4c38957402dbdb8b31af", | 565 | "relatedLot": "3c8f387879de4c38957402dbdb8b31af", |
@@ -568,7 +568,7 @@ def test_lots_bid_data(): | @@ -568,7 +568,7 @@ def test_lots_bid_data(): | ||
568 | { | 568 | { |
569 | "value": { | 569 | "value": { |
570 | "currency": "UAH", | 570 | "currency": "UAH", |
571 | - "amount": 1000 + fake.pyfloat(left_digits=3, right_digits=0, positive=True), | 571 | + "amount": fake.random_int(max=1999), |
572 | "valueAddedTaxIncluded": "true" | 572 | "valueAddedTaxIncluded": "true" |
573 | }, | 573 | }, |
574 | "relatedLot": "bcac8d2ceb5f4227b841a2211f5cb646", | 574 | "relatedLot": "bcac8d2ceb5f4227b841a2211f5cb646", |
Please
register
or
login
to post a comment