Skip to content

Commit

Permalink
feat(api): making unit testing work (checking area fields)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdiwahada committed Feb 27, 2025
1 parent 61443af commit 68f65a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/antares/services/api_services/test_study_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
BindingConstraintOperator,
BindingConstraintProperties,
)
from antares.craft.model.link import Link, LinkPropertiesUpdate, LinkProperties, AssetType
from antares.craft.model.link import Link, LinkPropertiesUpdate
from antares.craft.model.output import (
Output,
)
Expand Down Expand Up @@ -823,9 +823,6 @@ def test_import_study_fail_api_error(self, tmp_path):

def test_update_multiple_links_success(self):
url = f"https://antares.com/api/v1/studies/{self.study_id}/table-mode/links"

link_up_1 = LinkPropertiesUpdate(hurdles_cost=True, loop_flow=True)
link_up_2 = LinkPropertiesUpdate(display_comments=False, asset_type=AssetType.AC)
json_update_links = {
"area_test / area_test_1": {
"hurdles_cost": "false",
Expand Down

0 comments on commit 68f65a5

Please sign in to comment.