failing unit-test
@cehbrecht ya está trabajando en esto.
Desde el 15/3/2022.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description
Attempt to install and run unit-test
The software installs without error, following the documentation - trying to run the test, it fails with the following error:
root@5f142103bda1:~/pywps# python3 -m unittest tests
E
======================================================================
ERROR: tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pywps/tests/__init__.py", line 95, in load_tests
test_storage.load_tests(),
AttributeError: module 'tests.test_storage' has no attribute 'load_tests'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
After commenting the failing import and its related call() to test_storage, the rror becomes:
python3 -m unittest tests
...................................................EEE.....s.s............................................ss...........................................ss.......
======================================================================
ERROR: test_bbox_output (tests.test_describe.OutputDescriptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pywps/tests/test_describe.py", line 385, in test_bbox_output
doc = bbox.describe_xml()
AttributeError: 'BoundingBoxOutput' object has no attribute 'describe_xml'
======================================================================
ERROR: test_complex_output (tests.test_describe.OutputDescriptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pywps/tests/test_describe.py", line 368, in test_complex_output
doc = complexo.describe_xml()
AttributeError: 'ComplexOutput' object has no attribute 'describe_xml'
======================================================================
ERROR: test_literal_output (tests.test_describe.OutputDescriptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pywps/tests/test_describe.py", line 343, in test_literal_output
doc = literal.describe_xml()
AttributeError: 'LiteralOutput' object has no attribute 'describe_xml'
----------------------------------------------------------------------
Ran 160 tests in 6.500s
FAILED (errors=3, skipped=6)
root@5f142103bda1:~/pywps#
Environment
- operating system:
Debian SID - Python version:
3.9.10 - PyWPS version:
git master - source/distribution
- git clone
- Debian
- PyPI
- zip/tar.gz
- other (please specify):
- web server
- Apache/mod_wsgi
- CGI
- other (please specify):
Steps to Reproduce
follow the documentation to run unit-test after successful installation
Additional Information
- Lenguaje dominante
- Python
- Estrellas
- 186
- Forks
- 117
- Merge medio
- 17 d 23 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de geopython/pywps
-
ReadTheDocs OAuth App InstallationQuizá libre de nuevo @tomkralidis la tomó hace 91 días y no hay ningún pull request abierto. Abiertodocumentation
-
Modernizing the packaging of the libraryQuizá libre de nuevo @Zeitsperre la tomó hace 304 días y no hay ningún pull request abierto. Abiertodocumentation enhancement packaging
-
DBLog test are bound to other testPosiblemente ocupada @C1-BA-B1-F3 la tomó hace 17 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
ComplexOutput data as reference always generates a file named "input.csv", should be "output".Posiblemente ocupada @C1-BA-B1-F3 la tomó hace 17 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Todos los issues de geopython/pywps
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
eclipse-score/inc_someip_gateway#356 ·
Los mantenedores suelen responder en 2 días
-
[BUG]: `GitHubRestAdapter.check_user_permission` and `has_write_access` raise `TypeError` (missing `params`), silently disabling the inactivity lifecyclePosiblemente ocupada @tarunagnihotri534 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
AOSSIE-Org/Gitcord-GithubDiscordBot#167 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
mihai-vlc/sublime-jsfmt#56 ·
-
comp/cli comp/plugins P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#141917 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
riscv/riscv-opcodes#441 ·