feat: ユニットテストを実行できるように修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2025-05-26 10:42:41 +09:00
parent 71b587e03c
commit 306e393ccf
7 changed files with 16 additions and 6 deletions

View File

@ -4,6 +4,8 @@ DB_USERNAME=************
DB_PASSWORD=************
DB_SCHEMA=src05
LOG_LEVEL=INFO
# 処理名: 起動する処理に応じて変更する
PROCESS_NAME=*************
ULTMARC_DATA_BUCKET=****************
ULTMARC_DATA_FOLDER=recv
JSKULT_BACKUP_BUCKET=****************

View File

@ -3,7 +3,7 @@
"editor.defaultFormatter": null,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
}
},
//
@ -23,7 +23,7 @@
"--ignore=F541"
],
"python.testing.pytestArgs": [
"tests/batch/"
"tests/"
],
"python.testing.unittestEnabled": false,

View File

@ -4,10 +4,8 @@ verify_ssl = true
name = "pypi"
[scripts]
"test:ultmarc" = "pytest tests/batch/ultmarc/"
"test:ultmarc:cov" = "pytest --cov=src/batch/ultmarc/ --cov-branch --cov-report=term-missing tests/batch/ultmarc/"
"test:vjsk" = "pytest tests/batch/vjsk/"
"test:vjsk:cov" = "pytest --cov=src/batch/vjsk/ --cov-branch --cov-report=term-missing tests/batch/vjsk/"
"test" = "pytest tests -vvv"
"test:cov" = "pytest --cov=src/manager/ --cov-branch --cov-report=term-missing tests/"
[packages]
boto3 = "*"

View File

@ -0,0 +1,4 @@
class TestJskultBatchRunManager:
def test_1(self):
pass

View File

@ -0,0 +1,3 @@
class TestJskultBatchStatusManager:
def test_1(self):
pass

View File

@ -0,0 +1,3 @@
class TestJskultHdkeTblManager:
def test_1(self):
pass