Skip to content

Commit 4825c2b

Browse files
authored
Fix monitor-api integration test (#586)
* fix test * lint
1 parent b66a974 commit 4825c2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/integration/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@ def get_db_status():
557557

558558

559559
@pytest.fixture(scope="session")
560-
def get_monitor_token_for_db_entities(test_linode_client):
560+
def get_monitor_token_for_db_entities(
561+
test_linode_client, test_create_postgres_db
562+
):
561563
client = test_linode_client
562564

563565
dbs = client.database.postgresql_instances()

test/integration/models/monitor_api/test_monitor_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ def test_monitor_api_fetch_dbaas_metrics(test_monitor_client):
99
)
1010

1111
assert metrics.status == "success"
12-
assert len(metrics.data.result) > 0

0 commit comments

Comments
 (0)