Skip to content

Commit

Permalink
Update latex math test
Browse files Browse the repository at this point in the history
  • Loading branch information
brynpickering committed Dec 24, 2024
1 parent d61e65f commit 3e97ec8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_backend_latex_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def test_add_objective(self, dummy_latex_backend_model):
assert len(dummy_latex_backend_model.objectives.data_vars) == 1

def test_default_objective_set(self, dummy_latex_backend_model):
dummy_latex_backend_model.objective == "min_cost_optimisation"
# Dummy backend model has no objective initially
assert not hasattr(dummy_latex_backend_model, "objective")

def test_new_objective_set(self, dummy_latex_backend_model):
dummy_latex_backend_model.add_objective(
Expand Down

0 comments on commit 3e97ec8

Please sign in to comment.