aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2023-09-16 11:51:40 -0700
committerGravatar Mark <[email protected]>2023-10-27 11:59:01 -0700
commit56376361a941383555e2db129baf34250d409b06 (patch)
treebf82c21e75140088f769ab35ff0e3a3646a752ba /tests/test_nsjail.py
parentMerge #195 - Python 3.12 (diff)
Refactor modules into subpackages
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r--tests/test_nsjail.py4
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(
"""