From 88eb1865b8628e2f180a25872df469a56f6f3bf6 Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Wed, 5 May 2021 09:02:46 +0200
Subject: [PATCH] [test][databaseeditor] Fixed pytest warnings

---
 beat/editor/test/test_databaseeditor.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/beat/editor/test/test_databaseeditor.py b/beat/editor/test/test_databaseeditor.py
index 53d98e85..d296e60b 100644
--- a/beat/editor/test/test_databaseeditor.py
+++ b/beat/editor/test/test_databaseeditor.py
@@ -42,12 +42,12 @@ from ..widgets.databaseeditor import ViewEditor
 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):
     yield "simple/{}".format(request.param)
 
 
-@pytest.yield_fixture(
+@pytest.fixture(
     params=[
         {},
         {"test_string": "test string", "test_number": 12.0, "test_boolean": True},
-- 
GitLab