Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b429f21

Browse files
authored
Merge pull request #17 from kbaikov/master
Use fixture instead of yield_fixture
2 parents 01e717b + fa1cd6b commit b429f21

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

‎23-dyn-attr-prop/oscon/test_schedule_v1.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import schedule_v1 as schedule
44

55

6-
@pytest.yield_fixture
6+
@pytest.fixture
77
def records():
88
yield schedule.load(schedule.JSON_PATH)
99

‎23-dyn-attr-prop/oscon/test_schedule_v2.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import schedule_v2 as schedule
44

5-
@pytest.yield_fixture
5+
@pytest.fixture
66
def records():
77
yield schedule.load(schedule.JSON_PATH)
88

‎23-dyn-attr-prop/oscon/test_schedule_v3.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import schedule_v3 as schedule
44

5-
@pytest.yield_fixture
5+
@pytest.fixture
66
def records():
77
yield schedule.load(schedule.JSON_PATH)
88

‎23-dyn-attr-prop/oscon/test_schedule_v4.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import schedule_v4 as schedule
44

5-
@pytest.yield_fixture
5+
@pytest.fixture
66
def records():
77
yield schedule.load(schedule.JSON_PATH)
88

‎23-dyn-attr-prop/oscon/test_schedule_v5.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import schedule_v5 as schedule
44

5-
@pytest.yield_fixture
5+
@pytest.fixture
66
def records():
77
yield schedule.load(schedule.JSON_PATH)
88

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /