We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c35c8a + 34eed03 commit 205ed92Copy full SHA for 205ed92
test/integration/models/monitor/test_monitor.py
@@ -57,6 +57,13 @@ def test_get_supported_services(test_linode_client):
57
assert isinstance(metric_definitions[0], MonitorMetricsDefinition)
58
59
60
+def test_get_not_supported_service(test_linode_client):
61
+ client = test_linode_client
62
+ with pytest.raises(RuntimeError) as err:
63
+ client.load(MonitorService, "saas")
64
+ assert "[404] Not found" in str(err.value)
65
+
66
67
# Test Helpers
68
def get_db_engine_id(client: LinodeClient, engine: str):
69
engines = client.database.engines()
0 commit comments