Skip to content

Commit

Permalink
Update test after endpoint update
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jul 14, 2023
1 parent dbeeef6 commit 7db9f6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_model_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,13 +673,13 @@ def test_counts_to_dimensionless_amr(self):
for initial in tm_dimless.initials.values():
assert initial.concept.units.expression.args[0].equals(1)

def test_flux_span_endpoint(self):
def test_reconstruct_ode_semnatics_endpoint(self):
# Load test file
from mira.sources.askenet.flux_span import test_file_path
flux_span = json.load(test_file_path.open())
strat_model = json.load(test_file_path.open())
response = self.client.post(
"/api/flux_span",
json={"flux_span": flux_span}
"/api/reconstruct_ode_semnatics",
json={"model": strat_model}
)
self.assertEqual(200, response.status_code)

Expand Down

0 comments on commit 7db9f6c

Please sign in to comment.