From 260c959028d02701d4be48d94b1a18673741369f Mon Sep 17 00:00:00 2001 From: "madjid.asa" Date: Mon, 19 Feb 2024 17:55:09 +0100 Subject: [PATCH] fix mistake --- lemarche/tenders/models.py | 3 --- lemarche/tenders/tests.py | 1 - 2 files changed, 4 deletions(-) diff --git a/lemarche/tenders/models.py b/lemarche/tenders/models.py index c36c7b68e..261a6bef5 100644 --- a/lemarche/tenders/models.py +++ b/lemarche/tenders/models.py @@ -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": diff --git a/lemarche/tenders/tests.py b/lemarche/tenders/tests.py index 2224f1a41..f9c6a9d27 100644 --- a/lemarche/tenders/tests.py +++ b/lemarche/tenders/tests.py @@ -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):