feat: ユニットテストを実行できるように修正
This commit is contained in:
parent
71b587e03c
commit
306e393ccf
@ -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=****************
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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 = "*"
|
||||
|
||||
0
ecs/jskult-batch/tests/manager/__init__.py
Normal file
0
ecs/jskult-batch/tests/manager/__init__.py
Normal file
@ -0,0 +1,4 @@
|
||||
class TestJskultBatchRunManager:
|
||||
|
||||
def test_1(self):
|
||||
pass
|
||||
@ -0,0 +1,3 @@
|
||||
class TestJskultBatchStatusManager:
|
||||
def test_1(self):
|
||||
pass
|
||||
@ -0,0 +1,3 @@
|
||||
class TestJskultHdkeTblManager:
|
||||
def test_1(self):
|
||||
pass
|
||||
Loading…
x
Reference in New Issue
Block a user