Skip to content
Snippets Groups Projects
Verified Commit 6191d0fe authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

fix one unit test, and remove some unused code

parent d1c4524d
No related branches found
No related tags found
1 merge request!131Move provisioning proxy steps to the new LSO endpoint
Pipeline #85178 passed
...@@ -7,7 +7,6 @@ configured to run from A to C. B is then no longer associated with this IP trunk ...@@ -7,7 +7,6 @@ configured to run from A to C. B is then no longer associated with this IP trunk
import copy import copy
import json import json
import re import re
from logging import getLogger
from typing import NoReturn from typing import NoReturn
from uuid import uuid4 from uuid import uuid4
...@@ -41,10 +40,6 @@ from gso.utils.helpers import ( ...@@ -41,10 +40,6 @@ from gso.utils.helpers import (
) )
from gso.utils.workflow_steps import set_isis_to_90000 from gso.utils.workflow_steps import set_isis_to_90000
logger = getLogger(__name__)
PLAYBOOK_VERB_NOT_YET_PROPERLY_SET = "Playbook verb is not yet properly set."
def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator:
"""Gather input from the operator on the new router that the IP trunk should connect to.""" """Gather input from the operator on the new router that the IP trunk should connect to."""
......
...@@ -107,7 +107,7 @@ def interface_lists_are_equal(list1, list2): ...@@ -107,7 +107,7 @@ def interface_lists_are_equal(list1, list2):
indirect=True, indirect=True,
) )
@pytest.mark.workflow() @pytest.mark.workflow()
@patch("gso.services.provisioning_proxy.execute_playbook") @patch("gso.services.provisioning_proxy._send_request")
@patch("gso.services.netbox_client.NetboxClient.get_available_interfaces") @patch("gso.services.netbox_client.NetboxClient.get_available_interfaces")
@patch("gso.services.netbox_client.NetboxClient.get_available_lags") @patch("gso.services.netbox_client.NetboxClient.get_available_lags")
@patch("gso.services.netbox_client.NetboxClient.create_interface") @patch("gso.services.netbox_client.NetboxClient.create_interface")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment