Skip to content

Commit

Permalink
Merge pull request #87 from SciCatProject/fix-test
Browse files Browse the repository at this point in the history
Fix scicat ingestor command in the integration test.
  • Loading branch information
YooSunYoung authored Nov 4, 2024
2 parents 16006e6 + 02da5c0 commit 18f94e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
- run: validate_ingestor_config resources/config.sample.json
- run: docker-compose version
- run: docker-compose -f tests/docker-compose-file-writer.yml up -d
- run: python tests/_scicat_ingestor.py -c resources/config.sample.json --verbose
- run: python tests/_scicat_ingestor.py -c resources/config.sample.json --logging.verbose
- run: docker-compose -f tests/docker-compose-file-writer.yml down
2 changes: 1 addition & 1 deletion tests/_scicat_ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Run the main function in a subprocess
command = (
"scicat_ingestor",
*(sys.argv[1:] or ["--verbose", "-c", "resources/config.sample.json"]),
*(sys.argv[1:] or ["--logging.verbose", "-c", "resources/config.sample.json"]),
)
process = subprocess.Popen(command) # noqa: S603

Expand Down

0 comments on commit 18f94e4

Please sign in to comment.