Skip to content

Commit d9f366e

Browse files
committed
fixed breaking unstable tests
1 parent 1fb8886 commit d9f366e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_mssqlcliclient.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,8 @@ def test_get_query_results(client):
136136
assert len(rows) == 3
137137
assert query == test_query
138138

139-
@staticmethod
140139
@pytest.mark.unstable
141-
def test_schema_table_views_and_columns_query(client):
140+
def test_schema_table_views_and_columns_query(self, client_with_db):
142141
"""
143142
Verify mssqlcliclient's tables, views, columns, and schema are populated.
144143
Note: This test should run against a database that the credentials
@@ -183,9 +182,8 @@ def test_schema_table_views_and_columns_query(client):
183182
finally:
184183
self.execute_queries(client, queries_drop)
185184

186-
@staticmethod
187185
@pytest.mark.unstable
188-
def test_stored_proc_multiple_result_sets(client):
186+
def test_stored_proc_multiple_result_sets(self, client_with_db):
189187
"""
190188
Verify the results of running a stored proc with multiple result sets
191189
"""

0 commit comments

Comments
 (0)