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

Update oss params example

parent 5fece9ca
No related branches found
No related tags found
1 merge request!211Feature/add sharepoint service
......@@ -93,6 +93,14 @@
"smtp_password": "password"
},
"SHAREPOINT": {
"checklist_site_url": "https://example.sharepoint.com/sites/example-site"
"client_id": "UUID",
"tenant_id": "UUID",
"certificate_path": "/path/to/certificate",
"certificate_password": "P4$$w0rd",
"site_id": "UUID",
"list_ids": {
"p_router": "UUID"
},
"scopes": ["https://graph.microsoft.com/.default"]
}
}
......@@ -40,7 +40,9 @@ def router_creation_input_form_data(site_subscription_factory, faker):
@patch("gso.workflows.router.create_router.infoblox.hostname_available")
@patch("gso.workflows.router.create_router.infoblox.find_host_by_fqdn")
@patch("gso.workflows.router.create_router.infoblox.allocate_host")
@patch("gso.workflows.router.create_router.SharePointClient")
def test_create_nokia_router_success(
mock_sharepoint_client,
mock_allocate_host,
mock_find_host_by_fqdn,
mock_hostname_available,
......@@ -108,6 +110,7 @@ def test_create_nokia_router_success(
assert mock_provision_router.call_count == 3
assert mock_netbox_create_device.call_count == 1
assert mock_find_host_by_fqdn.call_count == 1
assert mock_sharepoint_client.call_count == 1
assert "ipam_warning" not in state
......
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