Open
Description
This methods need coverage:
AgregarActividad
(WSFEv1 & WSMTX)ParamGetActividades
(WSFEv1)ConsultarActividadesVigentes
(WSMTX)
We should at least have an unit test for each method in test_wsfev1.py
def test_agregar_actividad():
wsfev1 = WSFEv1()
wsfev1.CrearFactura()
wsfev1.AgregarActividad(960990)
assert wsfev1.factura["actividades"][0]["actividad_id"] == 960990
To quickly run it, just execute in the commend line:
pytest tests/test_wsfev1.py -k test_agregar_actividad
Tip: change autouse=False in conftest.py
for function auth, to skip WSAA ticket generation.