Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running run_tests.sh #1000

Closed
BadrAly opened this issue May 19, 2020 · 0 comments · Fixed by #1001
Closed

Errors when running run_tests.sh #1000

BadrAly opened this issue May 19, 2020 · 0 comments · Fixed by #1001
Labels
developers From a developer point of view.
Milestone

Comments

@BadrAly
Copy link

BadrAly commented May 19, 2020

Describe the issue
The run_tests.sh fails with this error:


    def test_document_person_resolve_exception(es_clear, db, document_data_ref):
        """Test document person resolve."""
        with pytest.raises(Exception):
            Document.create(
                data=document_data_ref,
                delete_pid=False,
                dbcommit=True,
>               reindex=True
            )
E           Failed: DID NOT RAISE <class 'Exception'>

tests/ui/documents/test_documents_api.py:147: Failed
@BadrAly BadrAly added the bug label May 19, 2020
@iGormilhit iGormilhit added the developers From a developer point of view. label May 19, 2020
@iGormilhit iGormilhit added this to the v0.9.0 milestone May 19, 2020
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py noz raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit to rerowep/rero-ils that referenced this issue May 19, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes rero#1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
rerowep added a commit that referenced this issue May 20, 2020
* Fixes problem with ui/documents/test_documents_api.py not raising
  exceptions. closes #1000
* Changes setup back to not run the ebooks harvesting for normal setup.
* Corrects unused imports in scripts/__init__.py

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developers From a developer point of view.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants