Few issues I have found :
1) import snappi v0.7.7 is failing
ImportError while loading conftest '/home/keysight/athena/tests/py/conftest.py'.
py/conftest.py:2: in
import snappi
/usr/local/lib/python3.8/dist-packages/snappi/init.py:1: in
from .snappi import Config
/usr/local/lib/python3.8/dist-packages/snappi/snappi.py:13: in
import grpc
workaround I did, locally I have installed grpcio, grpcio-tools which should be inside the dependency of snappy
2) all set & control operations which returns warning failing:
res = api.set_config(cfg)
res.warnings is NoneType, if there is no warning it should return empty list
3) mismatch of return type for get_capture api
for http_transport its returning _io.BytesIO but for grpc_transport its returning string which is not expected.
Few issues I have found : 1) import snappi v0.7.7 is failing ImportError while loading conftest '/home/keysight/athena/tests/py/conftest.py'. py/conftest.py:2: in
import snappi
/usr/local/lib/python3.8/dist-packages/snappi/init.py:1: in
from .snappi import Config
/usr/local/lib/python3.8/dist-packages/snappi/snappi.py:13: in
import grpc
workaround I did, locally I have installed grpcio, grpcio-tools which should be inside the dependency of snappy
2) all set & control operations which returns warning failing:
res = api.set_config(cfg)
res.warnings is NoneType, if there is no warning it should return empty list
3) mismatch of return type for get_capture api
for http_transport its returning _io.BytesIO but for grpc_transport its returning string which is not expected.