diff options
| author | 2023-11-05 10:16:18 -0800 | |
|---|---|---|
| committer | 2023-11-05 10:16:18 -0800 | |
| commit | 841b52be9b960e61af0bcc61454eedc893641626 (patch) | |
| tree | 635611c04770cffd33036a2a2380f978017ee621 /tests/test_nsjail.py | |
| parent | Merge #195 - Python 3.12 (diff) | |
| parent | Remove Python 3.13 from image (diff) | |
Merge #194 - refactor file structure and nsjail module
Diffstat (limited to '')
| -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(              """ | 
