diff options
author | 2023-09-16 11:51:40 -0700 | |
---|---|---|
committer | 2023-10-27 11:59:01 -0700 | |
commit | 56376361a941383555e2db129baf34250d409b06 (patch) | |
tree | bf82c21e75140088f769ab35ff0e3a3646a752ba /tests/test_nsjail.py | |
parent | Merge #195 - Python 3.12 (diff) |
Refactor modules into subpackages
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r-- | tests/test_nsjail.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py index 5d927c2..d54d31b 100644 --- a/tests/test_nsjail.py +++ b/tests/test_nsjail.py @@ -9,9 +9,9 @@ from itertools import product from pathlib import Path from textwrap import dedent -from snekbox.filesystem import Size from snekbox.nsjail import NsJail from snekbox.snekio import FileAttachment +from snekbox.snekio.filesystem import Size class NsJailTests(unittest.TestCase): @@ -576,7 +576,7 @@ class NsJailCgroupTests(unittest.TestCase): # This should still pass for v2, even if this test isn't relevant. def test_cgroupv1(self): logging.getLogger("snekbox.nsjail").setLevel(logging.ERROR) - logging.getLogger("snekbox.utils.swap").setLevel(logging.ERROR) + logging.getLogger("snekbox.limits.swap").setLevel(logging.ERROR) config_base = dedent( """ |