Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Apr 1, 2024
1 parent c375f1e commit ba1df80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# - run: poetry run ruff format --check
# - run: poetry run ruff check
# - run: poetry run pyright --warnings
- run: poetry run pytest -k "ExternalCopyTest or ExternalConvertTest" -x
- run: poetry run pytest -k "ExternalCopyTest or ExternalConvertTest"
- uses: coverallsapp/github-action@v2
if: github.event_name == 'pull_request' && matrix.python-version == '3.8'

Expand Down
4 changes: 3 additions & 1 deletion test/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def assertFileTag(self, path, tag):
self.assertIsFile(path)
with open(syspath(path), "rb") as f:
f.seek(-5, os.SEEK_END)
assert f.read() == tag
x = f.read()
print("tag", x)
assert x == tag

def assertNotFileTag(self, path, tag):
self.assertIsFile(path)
Expand Down

0 comments on commit ba1df80

Please sign in to comment.