diff options
| author | 2023-11-05 10:16:18 -0800 | |
|---|---|---|
| committer | 2023-11-05 10:16:18 -0800 | |
| commit | 841b52be9b960e61af0bcc61454eedc893641626 (patch) | |
| tree | 635611c04770cffd33036a2a2380f978017ee621 /tests/snekio/test_memfs.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/snekio/test_memfs.py (renamed from tests/test_memfs.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_memfs.py b/tests/snekio/test_memfs.py index 0555726..cbe2fe4 100644 --- a/tests/test_memfs.py +++ b/tests/snekio/test_memfs.py @@ -4,7 +4,7 @@ from contextlib import ExitStack from unittest import TestCase, mock from uuid import uuid4 -from snekbox.memfs import MemFS +from snekbox.snekio import MemFS UUID_TEST = uuid4() @@ -12,10 +12,10 @@ UUID_TEST = uuid4() class MemFSTests(TestCase): def setUp(self): super().setUp() - self.logger = logging.getLogger("snekbox.memfs") + self.logger = logging.getLogger("snekbox.snekio.memfs") self.logger.setLevel(logging.WARNING) - @mock.patch("snekbox.memfs.uuid4", lambda: UUID_TEST) + @mock.patch("snekbox.snekio.memfs.uuid4", lambda: UUID_TEST) def test_assignment_thread_safe(self): """Test concurrent mounting works in multi-thread environments.""" # Concurrently create MemFS in threads, check only 1 can be created |