Skip to content

Commit 9c949b2

Browse files
committed
DEBUG DELETEME
1 parent 6bfaf41 commit 9c949b2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/docat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: run backend tests
3939
working-directory: docat
4040
run: |
41-
python -m poetry run pytest
41+
python -m poetry run pytest -vvv -s
4242
4343
javascript-test:
4444
runs-on: ubuntu-latest

docat/docat/utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ def readable_size(bytes: int) -> str:
156156

157157

158158
def directory_size(path: Path) -> int:
159+
print([(str(file), file.stat().st_size) for file in path.rglob("*")])
160+
159161
return sum(file.stat().st_size for file in path.rglob("*"))
160162

161163

0 commit comments

Comments
 (0)