diff --git a/app/models/objective_function.py b/app/models/objective_function.py index 5081f1d..9bd332f 100644 --- a/app/models/objective_function.py +++ b/app/models/objective_function.py @@ -27,8 +27,6 @@ class ObjectiveFunction(BaseModel): else: for target in targets: target.drift = round(target.drift + amount, 2) - print(self.tif_targets) - print(self.tcc_targets) return amount def update_targets_drift(self, amount: float = 0.0): diff --git a/app/test/test_example.py b/app/test/test_example.py index 443721e..54b0caa 100644 --- a/app/test/test_example.py +++ b/app/test/test_example.py @@ -3,5 +3,9 @@ def func(x): return x + 1 -def test_answer(): +def test_pass(): + assert func(4) == 5 + + +def test_failure(): assert func(3) == 5 \ No newline at end of file