From ee744a15221d6b3a5ab76f5d842ede3b4e663dc5 Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Fri, 17 Nov 2023 12:47:48 +0100 Subject: [PATCH] fix typos --- test/services/test_netbox.py | 2 +- test/workflows/site/test_create_site.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/services/test_netbox.py b/test/services/test_netbox.py index 7df6320a..c4dc6bdd 100644 --- a/test/services/test_netbox.py +++ b/test/services/test_netbox.py @@ -128,7 +128,7 @@ def test_get_available_lags(mock_api, mock_from_subscription, data_config_filena @patch("gso.services.netbox_client.pynetbox.api") def test_create_interface(mock_api, device, interface, data_config_filename: PathLike): - # Moch netbox calls + # Mock netbox calls mock_api.return_value.dcim.devices.get.return_value = device mock_api.return_value.dcim.interfaces.create.return_value = interface diff --git a/test/workflows/site/test_create_site.py b/test/workflows/site/test_create_site.py index d5d013a7..a1122f59 100644 --- a/test/workflows/site/test_create_site.py +++ b/test/workflows/site/test_create_site.py @@ -47,8 +47,8 @@ def test_site_name_is_incorrect(responses, faker): The site name is a string with 3 upper case letter and one digit. Like: AMS, LON, LON1...LON 9. - This test checks a invalid string for site name. - The validation should throw an exception in case of a invalid string. + This test checks an invalid string for site name. + The validation should throw an exception in case of an invalid string. """ invalid_site_name = "AMST10" expected_exception_msg = rf".*Enter a valid site name.+Received: {invalid_site_name}.*" -- GitLab