refactor: 日付テーブル操作クラスの不要なyield引数を削除
This commit is contained in:
parent
c5c20b3725
commit
eae82ac750
@ -8,7 +8,7 @@ class TestJskultHdkeTblManager:
|
||||
@pytest.fixture(scope='function', autouse=True)
|
||||
def backup_hdke_tbl_record(self):
|
||||
"""
|
||||
テスト実行前に日付テーブルのバックアップを取得する。
|
||||
テスト実行前にテーブルのバックアップを取得する。
|
||||
テスト実行後にバックアップから復元する。
|
||||
"""
|
||||
# Setup
|
||||
@ -17,7 +17,7 @@ class TestJskultHdkeTblManager:
|
||||
backup_hdke_tbl = db.execute_select('SELECT * FROM src07.hdke_tbl')[0]
|
||||
db.execute('DELETE FROM src07.hdke_tbl')
|
||||
|
||||
yield backup_hdke_tbl
|
||||
yield
|
||||
|
||||
# Teardown
|
||||
db.execute('DELETE FROM src07.hdke_tbl')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user