Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Karetnikov authored and nkaretnikov committed Oct 22, 2023
1 parent a71f24d commit e4bc4fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: "Unit tests ✅"
run: |
pytest tests
pytest --capture=no tests
integration-test-conda-store-server:
name: "integration-test conda-store-server"
Expand Down
2 changes: 2 additions & 0 deletions conda-store-server/tests/test_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ def test_disk_usage(tmp_path):
assert isinstance(val, str)
assert 1000 <= int(val) <= 1500
assert 1000 <= du(test_file) <= 1500
print("XXXXXXXXXXXXXX:", int(val), du(test_file))

val = disk_usage(test_dir)
assert isinstance(val, str)
assert 2000 + dir_size <= int(val) <= 2700 + dir_size
assert 2000 + dir_size <= du(test_dir) <= 2700 + dir_size
print("XXXXXXXXXXXXXX:", dir_size, int(val), du(test_dir))

0 comments on commit e4bc4fa

Please sign in to comment.