Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/jinja2-3.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean1572 committed May 15, 2024
2 parents ff29ebc + 5e6a2bc commit 9bd65aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/env_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
env:
NAS_CREDS: ${{ secrets.NAS_CREDS }}
run: |
poetry run python -m pytest pyha_tests
poetry run python -m pytest pyha_tests -rP
6 changes: 3 additions & 3 deletions pyha_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_reference_data(creds) -> Path:
username=creds['username'],
password=creds['password']
)
yield path.joinpath('pyha_test')
yield path.joinpath('TEST')
else:
shutil.copytree(Path('TEST'), path, dirs_exist_ok=True)
yield path
#shutil.copytree(Path('TEST'), path, dirs_exist_ok=True)
yield path.joinpath('TEST')
2 changes: 2 additions & 0 deletions pyha_tests/test_pyha.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def test_reference_data(reference_data: Path):
Args:
reference_data (Path): Path to reference data
"""
test_path = reference_data.parents[0]
assert reference_data.exists()
for i in range(11):
assert reference_data.joinpath(f'ScreamingPiha{i + 1}.wav').exists()

Expand Down

0 comments on commit 9bd65aa

Please sign in to comment.