Commits

Floris Bruynooghe committed 6f3db91

Update tests to work stand-alone

Comments (0)

Files changed (2)

pysnmp_eventlet/carrier/eventlet/dgram/base_test.py

 
 @pytest.fixture(params=[V4Trans, V6Trans])
 def trans(request, pytestconfig):
-    if not pytestconfig.ipv6 and request.param.FAMILY == socket.AF_INET6:
-        pytest.skip('No working IPv6 stack available')
     t = request.param()
     request.addfinalizer(t.close)
     return t

pysnmp_eventlet/conftest.py

+import mock
+
+
+def pytest_namespace():
+    return {'Mock': mock.Mock}