pyEscoAPI 0.0.24__tar.gz → 0.0.26__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/PKG-INFO +1 -1
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI/esco_api.py +22 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI.egg-info/PKG-INFO +1 -1
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyproject.toml +1 -1
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/tests/test_client.py +11 -1
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/README.md +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI/__init__.py +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI/dataclasses.py +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI/exception.py +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI.egg-info/SOURCES.txt +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI.egg-info/dependency_links.txt +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI.egg-info/requires.txt +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/pyEscoAPI.egg-info/top_level.txt +0 -0
- {pyescoapi-0.0.24 → pyescoapi-0.0.26}/setup.cfg +0 -0
|
@@ -1971,3 +1971,25 @@ class EscoAPI:
|
|
|
1971
1971
|
request_body={},
|
|
1972
1972
|
request_method=HTTPMethod.GET
|
|
1973
1973
|
)
|
|
1974
|
+
|
|
1975
|
+
def get_bancos(self):
|
|
1976
|
+
"""
|
|
1977
|
+
Devuelve el listado de bancos cargados en servidor.
|
|
1978
|
+
"""
|
|
1979
|
+
self.__pre_connection()
|
|
1980
|
+
return self.__make_request(
|
|
1981
|
+
request_endpoint=f"/get-bancos",
|
|
1982
|
+
request_body={},
|
|
1983
|
+
request_method=HTTPMethod.GET
|
|
1984
|
+
)
|
|
1985
|
+
|
|
1986
|
+
def get_grupo_aranceles_bursatiles(self):
|
|
1987
|
+
"""
|
|
1988
|
+
Devuelve el listado de grupos de aranceles bursátiles.
|
|
1989
|
+
"""
|
|
1990
|
+
self.__pre_connection()
|
|
1991
|
+
return self.__make_request(
|
|
1992
|
+
request_endpoint="/get-grupo-aranceles-bursatiles",
|
|
1993
|
+
request_body={},
|
|
1994
|
+
request_method=HTTPMethod.GET
|
|
1995
|
+
)
|
|
@@ -315,4 +315,14 @@ def test_insert_ejecucion_orden(api_client):
|
|
|
315
315
|
def test_get_cuentas_bancarias_comitente(api_client):
|
|
316
316
|
result = api_client.get_cuentas_bancarias_comitente(cuenta="172998")
|
|
317
317
|
assert isinstance(result, list)
|
|
318
|
-
assert "cuit" in result[0]
|
|
318
|
+
assert "cuit" in result[0]
|
|
319
|
+
|
|
320
|
+
def test_get_bancos(api_client):
|
|
321
|
+
result = api_client.get_bancos()
|
|
322
|
+
assert isinstance(result, list)
|
|
323
|
+
assert "codigo" in result[0]
|
|
324
|
+
|
|
325
|
+
def test_get_grupo_aranceles_bursatiles(api_client):
|
|
326
|
+
result = api_client.get_grupo_aranceles_bursatiles()
|
|
327
|
+
assert isinstance(result, list)
|
|
328
|
+
assert "codigo" in result[0]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|