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.
1 parent fed436b commit d23fc96Copy full SHA for d23fc96
test/integration/models/monitor/test_monitor.py
@@ -55,6 +55,13 @@ def test_get_supported_services(test_linode_client):
55
assert isinstance(metric_definitions[0], MonitorMetricsDefinition)
56
57
58
+def test_get_not_supported_service(test_linode_client):
59
+ client = test_linode_client
60
+ with pytest.raises(RuntimeError) as err:
61
+ client.load(MonitorService, "saas")
62
+ assert "[404] Not found" in str(err.value)
63
+
64
65
# Test Helpers
66
def get_db_engine_id(client: LinodeClient, engine: str):
67
engines = client.database.engines()
0 commit comments