diff --git a/.vscode/settings.json b/.vscode/settings.json index 518ee97..944e5ab 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,29 +29,29 @@ "version": "0.2.0", "configurations": [ { - "name": "bds Python", - "type": "debugpy", - "request": "launch", - "console": "integratedTerminal", - "program": "${workspaceFolder}/src/bam_masterdata/app.py", // path to your entry point Python module + "name": "BM Python", + "type": "debugpy", + "request": "launch", + "console": "integratedTerminal", + "program": "${workspaceFolder}/bam_masterdata/metadata/entities.py", // path to your entry point Python module }, { - "name": "bds tests", - "type": "debugpy", - "request": "launch", - "console": "integratedTerminal", - "program": "${workspaceFolder}/.venv/bin/pytest", // path to your virtual environment - "justMyCode": false, - "env": { - "_PYTEST_RAISE": "1" - }, - "args": [ - "-sv", - "${workspaceFolder}/tests/" // path to your testing module - ] + "name": "BM tests", + "type": "debugpy", + "request": "launch", + "console": "integratedTerminal", + "program": "${workspaceFolder}/.venv/bin/pytest", // path to your virtual environment + "justMyCode": false, + "env": { + "_PYTEST_RAISE": "1" + }, + "args": [ + "-sv", + "${workspaceFolder}/tests/cli/test_cli.py" // path to your testing module + ] }, { - "name": "bds export-to-json", + "name": "BM export-to-json", "type": "debugpy", "request": "launch", "cwd": "${workspaceFolder}", @@ -60,7 +60,7 @@ "args": ["export-entities-to-json"] }, { - "name": "bds export-to-excel", + "name": "BM export-to-excel", "type": "debugpy", "request": "launch", "cwd": "${workspaceFolder}", diff --git a/bam_masterdata/metadata/entities.py b/bam_masterdata/metadata/entities.py index e6f028d..6de4774 100644 --- a/bam_masterdata/metadata/entities.py +++ b/bam_masterdata/metadata/entities.py @@ -154,6 +154,3 @@ class CollectionType(ObjectType): class DatasetType(ObjectType): pass - - -obj = ObjectType()