diff options
author | 2021-12-26 18:40:11 +0000 | |
---|---|---|
committer | 2021-12-26 18:40:11 +0000 | |
commit | e5c07edcb90018ac14787048e87f13c1384faf9f (patch) | |
tree | c2a2f478e2a27093c18fef5db49a645e87d9ee41 /tests/api | |
parent | Excluded the snekbox/config_pb2.py from coverage (#130) (diff) | |
parent | CI: disable setup-python action on self-hosted runner (diff) |
Merge pull request #127 from python-discord/feat/nsjail/102/cgroupv2
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/api/__init__.py b/tests/api/__init__.py index dcee5b5..a900316 100644 --- a/tests/api/__init__.py +++ b/tests/api/__init__.py @@ -1,3 +1,4 @@ +import logging from subprocess import CompletedProcess from unittest import mock @@ -20,4 +21,6 @@ class SnekAPITestCase(testing.TestCase): ) self.addCleanup(self.patcher.stop) + logging.getLogger("snekbox.nsjail").setLevel(logging.WARNING) + self.app = SnekAPI() |