Open reingart opened 1 year ago
This methods need coverage:
AgregarActividad
ParamGetActividades
ConsultarActividadesVigentes
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.
conftest.py
Those this actually test the web servers or just test cases to check the activation key Secondly It's a bit tight to work on the code of the web servers as they are in spanish
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
To quickly run it, just execute in the commend line:
Tip: change autouse=False in
conftest.py
for function auth, to skip WSAA ticket generation.