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 3e11fab commit 8c5127cCopy full SHA for 8c5127c
test/test_pycrate.py
@@ -34,6 +34,13 @@
34
import unittest
35
import time
36
37
+try:
38
+ # required for SEDebugMux module
39
+ import crcmod
40
+ _with_crcmod = True
41
+except ImportError:
42
+ _with_crcmod = False
43
+
44
from test.test_core import *
45
from test.test_media import *
46
from test.test_ether import *
@@ -205,10 +212,11 @@ def test_gmr(self):
205
212
print('[<>] testing GMR-1 RR in pycrate_gmr1 and pycrate_gmr1_csn1')
206
213
test_gmr()
207
214
208
- # osmo related protocols
215
+ # osmo related protocols, needs crcmod
209
216
def test_osmo(self):
210
217
print('[<>] testing pycrate_osmo')
211
- test_sedebugmux()
218
+ if _with_crcmod:
219
+ test_sedebugmux()
220
221
# crypto protocols
222
def test_crypto(self):
0 commit comments