Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
yshalenyk committed May 6, 2020
1 parent 4b15544 commit 8385f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/openprocurement/tender/belowthreshold/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def check_tender_status(request):
tender.status = "unsuccessful"
if tender.contracts and tender.contracts[-1].status == "active":
tender.status = "complete"
if tender.procurementMethodType in ("belowThreshold", "priceQuotation"):
if tender.procurementMethodType == "belowThreshold":
check_ignored_claim(tender)


Expand Down
2 changes: 2 additions & 0 deletions src/openprocurement/tender/pricequotation/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class BaseTenderWebTest(BaseCoreWebTest):
relative_to = os.path.dirname(__file__)
initial_data = test_tender_data
initial_status = None
maxDiff = None

initial_bids = None
initial_auth = ("Basic", ("broker", ""))
docservice = False
Expand Down

0 comments on commit 8385f69

Please sign in to comment.