Skip to content

Commit

Permalink
changed software_configuration delete integration test to allow for…
Browse files Browse the repository at this point in the history
… deletion
  • Loading branch information
nh916 committed Sep 1, 2023
1 parent 8df4f1b commit c99ef53
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/nodes/subobjects/test_software_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,4 @@ def test_integration_software_configuration(cript_api, simple_project_node, simp
integrate_nodes_helper(cript_api=cript_api, project_node=simple_project_node)

# ========= test delete =========
# cannot delete `Software_Configuration` from a frozen node `Software`
with pytest.raises(APIError) as error:
delete_integration_node_helper(cript_api=cript_api, node_to_delete=simple_software_configuration)

# the current error that the API gives
assert "The browser (or proxy) sent a request that this server could not understand." in str(error)
delete_integration_node_helper(cript_api=cript_api, node_to_delete=simple_software_configuration)

0 comments on commit c99ef53

Please sign in to comment.