Commit 88eb1865 authored by Samuel GAIST's avatar Samuel GAIST

[test][databaseeditor] Fixed pytest warnings

parent c8eb3ca5
...@@ -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},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment