Merge pull request #17 from kbaikov/master

Use fixture instead of yield_fixture
This commit is contained in:
Luciano Ramalho authored and GitHub committed 2021-08-23 16:15:02 -03:00
commit b429f217d3
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import pytest
import schedule_v1 as schedule
@pytest.yield_fixture
@pytest.fixture
def records():
yield schedule.load(schedule.JSON_PATH)
+1 -1
View File
@@ -2,7 +2,7 @@ import pytest
import schedule_v2 as schedule
@pytest.yield_fixture
@pytest.fixture
def records():
yield schedule.load(schedule.JSON_PATH)
+1 -1
View File
@@ -2,7 +2,7 @@ import pytest
import schedule_v3 as schedule
@pytest.yield_fixture
@pytest.fixture
def records():
yield schedule.load(schedule.JSON_PATH)
+1 -1
View File
@@ -2,7 +2,7 @@ import pytest
import schedule_v4 as schedule
@pytest.yield_fixture
@pytest.fixture
def records():
yield schedule.load(schedule.JSON_PATH)
+1 -1
View File
@@ -2,7 +2,7 @@ import pytest
import schedule_v5 as schedule
@pytest.yield_fixture
@pytest.fixture
def records():
yield schedule.load(schedule.JSON_PATH)