summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2025-06-23 20:08:37 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2025-09-18 16:44:26 +0200
commit45ac29070e1a95cc1bcb090fd3a58692ff755b2b (patch)
tree401c4e1a2a4ab58c72c79f724c63e4e3e9c60f02 /python
parent69d0a7499f4990c33c8d186763288dae7d2756a6 (diff)
downloadvyos-1x-45ac29070e1a95cc1bcb090fd3a58692ff755b2b.tar.gz
vyos-1x-45ac29070e1a95cc1bcb090fd3a58692ff755b2b.zip
nose: T7825: Use nose2 for unit tests
Diffstat (limited to 'python')
-rw-r--r--python/vyos/airbag.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/airbag.py b/python/vyos/airbag.py
index 1dcccdd47..bba8fc9fd 100644
--- a/python/vyos/airbag.py
+++ b/python/vyos/airbag.py
@@ -24,6 +24,8 @@ from vyos.defaults import airbag_noteworthy_size
def enable(log=True):
+ if 'nose2' in sys.modules:
+ return
if log:
_intercepting_logger()
_intercepting_exceptions()