Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • goat/gap/geant-service-orchestrator
1 result
Show changes
......@@ -7,7 +7,13 @@ from pydantic_forms.exceptions import FormValidationError
from gso.products import Iptrunk
from gso.products.product_blocks.router import RouterRole
from test import USER_CONFIRM_EMPTY_FORM
from test.workflows import assert_pp_interaction_success, assert_suspended, extract_state, resume_workflow, run_workflow
from test.workflows import (
assert_lso_interaction_success,
assert_suspended,
extract_state,
resume_workflow,
run_workflow,
)
@pytest.fixture()
......@@ -18,7 +24,7 @@ def ibgp_mesh_input_form_data(iptrunk_subscription_factory, faker):
@pytest.mark.workflow()
@patch("gso.workflows.router.update_ibgp_mesh.provisioning_proxy.execute_playbook")
@patch("gso.workflows.router.update_ibgp_mesh.lso_client.execute_playbook")
@patch("gso.workflows.router.update_ibgp_mesh.librenms_client.LibreNMSClient.add_device")
def test_update_ibgp_mesh_success(
mock_librenms_add_device,
......@@ -32,7 +38,7 @@ def test_update_ibgp_mesh_success(
)
for _ in range(5):
result, step_log = assert_pp_interaction_success(result, process_stat, step_log)
result, step_log = assert_lso_interaction_success(result, process_stat, step_log)
# Handle two consecutive user input steps
for _ in range(2):
......
......@@ -13,7 +13,7 @@ deps =
-r requirements.txt
commands =
ruff --respect-gitignore --preview .
ruff check --respect-gitignore --preview .
ruff format --respect-gitignore --preview --check .
mypy .
coverage erase
......