Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Feb 19, 2024
1 parent c63e68a commit 260c959
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lemarche/tenders/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ def find_amount_ranges(amount, operation):
:return: A list of matching keys.
"""
amount = int(amount)
import ipdb

ipdb.set_trace()
if operation == "lt":
return [key for key, value in tender_constants.AMOUNT_RANGE_CHOICE_EXACT.items() if value < amount]
elif operation == "lte":
Expand Down
1 change: 0 additions & 1 deletion lemarche/tenders/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,6 @@ def test_gte_operation(self):
tender_constants.AMOUNT_RANGE_750_1000,
tender_constants.AMOUNT_RANGE_1000_MORE,
]
print("find_amount_ranges(250000", find_amount_ranges(250000, "gte"))
self.assertListEqual(find_amount_ranges(250000, "gte"), expected_keys)

def test_lt_operation(self):
Expand Down

0 comments on commit 260c959

Please sign in to comment.