Skip to content

Commit f44d202

Browse files
committed
PytestCollectionWarningを除去するため、TestWrapperWrapperForTestに名前を変える。
1 parent fbfc3ee commit f44d202

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from distutils.util import strtobool
2121
from annofabapi import AnnofabApi, Wrapper
22-
from tests.utils_for_test import TestWrapper
22+
from tests.utils_for_test import WrapperForTest
2323
from tests.utils_for_test import create_csv_for_task
2424

2525
# プロジェクトトップに移動する
@@ -45,7 +45,7 @@
4545

4646
api = AnnofabApi(annofab_user_id, annofab_password)
4747
wrapper = Wrapper(api)
48-
test_wrapper = TestWrapper(api)
48+
test_wrapper = WrapperForTest(api)
4949

5050
my_account_id = api.get_my_account()[0]['account_id']
5151
organization_name = api.get_organization_of_project(

tests/utils_for_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def create_csv_for_task(file_path, first_input_data):
2020
writer.writerows(lines)
2121

2222

23-
class TestWrapper:
23+
class WrapperForTest:
2424
"""
2525
テスト用のUtils
2626
"""

0 commit comments

Comments
 (0)