|
1 | 1 | import os |
2 | | -import re |
3 | 2 | import time |
4 | 3 | from test.integration.helpers import ( |
5 | 4 | get_test_label, |
@@ -152,7 +151,7 @@ def test_get_engines(test_linode_client): |
152 | 151 |
|
153 | 152 | for e in engines: |
154 | 153 | assert e.engine in ["mysql", "postgresql"] |
155 | | - #assert re.search("[0-9]+.[0-9]+", e.version) |
| 154 | + # assert re.search("[0-9]+.[0-9]+", e.version) |
156 | 155 | assert e.id == e.engine + "/" + e.version |
157 | 156 |
|
158 | 157 |
|
@@ -214,9 +213,10 @@ def test_update_sql_db(test_linode_client, test_create_sql_db): |
214 | 213 |
|
215 | 214 | assert res |
216 | 215 | assert database.allow_list == new_allow_list |
217 | | - #assert database.label == label |
| 216 | + # assert database.label == label |
218 | 217 | assert database.updates.day_of_week == 2 |
219 | 218 |
|
| 219 | + |
220 | 220 | @pytest.mark.skipif( |
221 | 221 | os.getenv("RUN_DB_TESTS").strip().lower() not in {"yes", "true"}, |
222 | 222 | reason="RUN_DB_TESTS environment variable must be set to 'yes' or 'true' (case insensitive)", |
@@ -343,6 +343,7 @@ def test_update_postgres_db(test_linode_client, test_create_postgres_db): |
343 | 343 | assert database.label == label |
344 | 344 | assert database.updates.day_of_week == 2 |
345 | 345 |
|
| 346 | + |
346 | 347 | @pytest.mark.skipif( |
347 | 348 | os.getenv("RUN_DB_TESTS").strip().lower() not in {"yes", "true"}, |
348 | 349 | reason="RUN_DB_TESTS environment variable must be set to 'yes' or 'true' (case insensitive)", |
|
0 commit comments