Skip to content
Snippets Groups Projects
Commit 88eb1865 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][databaseeditor] Fixed pytest warnings

parent c8eb3ca5
No related branches found
No related tags found
1 merge request!151Fix test warnings
...@@ -42,12 +42,12 @@ from ..widgets.databaseeditor import ViewEditor ...@@ -42,12 +42,12 @@ from ..widgets.databaseeditor import ViewEditor
from ..widgets.databaseeditor import ViewsEditor from ..widgets.databaseeditor import ViewsEditor
@pytest.yield_fixture(params=[i for i in range(1, 3)]) @pytest.fixture(params=[i for i in range(1, 3)])
def test_database(request): def test_database(request):
yield "simple/{}".format(request.param) yield "simple/{}".format(request.param)
@pytest.yield_fixture( @pytest.fixture(
params=[ params=[
{}, {},
{"test_string": "test string", "test_number": 12.0, "test_boolean": True}, {"test_string": "test string", "test_number": 12.0, "test_boolean": True},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment