We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc00c1 commit 3d53e14Copy full SHA for 3d53e14
tests/openwrt/test_default.py
@@ -1,5 +1,7 @@
1
import unittest
2
3
+from openwisp_utils.tests import capture_stdout
4
+
5
from netjsonconfig import OpenWrt
6
from netjsonconfig.utils import _TabsMixin
7
@@ -176,6 +178,7 @@ def test_skip(self):
176
178
o = OpenWrt({"skipme": {"enabled": True}})
177
179
self.assertEqual(o.render(), '')
180
181
+ @capture_stdout()
182
def test_warning(self):
183
o = OpenWrt({"luci": [{"unrecognized": True}]})
184
0 commit comments