Skip to content

Commit 9777bca

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8e4b100 commit 9777bca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@ def test_metrics(quota_manager):
449449
name="dirsize_hard_limit_bytes",
450450
labels={"directory": "user"},
451451
# The value is in bytes, not gb (used by jupyterhub-home-nfs) or kb (used by xfs)
452-
value=pytest.approx(0.004 * 1024 * 1024 * 1024, abs=DEFAULT_BLOCK_SIZE_KIB * 1024),
452+
value=pytest.approx(
453+
0.004 * 1024 * 1024 * 1024, abs=DEFAULT_BLOCK_SIZE_KIB * 1024
454+
),
453455
)
454456
in collected_hardlimit_metric.samples
455457
)

0 commit comments

Comments
 (0)