aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-12-26 18:40:11 +0000
committerGravatar GitHub <[email protected]>2021-12-26 18:40:11 +0000
commite5c07edcb90018ac14787048e87f13c1384faf9f (patch)
treec2a2f478e2a27093c18fef5db49a645e87d9ee41 /tests/api
parentExcluded the snekbox/config_pb2.py from coverage (#130) (diff)
parentCI: 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__.py3
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()