diff --git a/test/services/test_netbox.py b/test/services/test_netbox.py index 7df6320a22bc73ac8aa6c8ae5b7a60d51954f2a1..c4dc6bdd768c36a7f0624022454b1fb97e677468 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 d5d013a7b310b124d8e25ec0c64e9efe0a2c27c2..a1122f59ef08297bc1ffbeaf7baa244cad620a3a 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}.*"