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

Add tests for CISearchView and cantus index functions #1552

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

lucasmarchd01
Copy link
Contributor

This PR adds missing tests for the CISearchView and some of the functions in cantusindex.py.

  • Tests for the `CISearchView are added using mock requests
  • Tests for get_merged_cantus_ids and get_ci_text_search functions are added using mock requests
  • Mock data is added for these tests
  • The old cantus index domain is added as a global variable, since we use this frequently in the code.

Resolves #1539

- tests and mock data for get_merged_cantus_ids and get_ci_text_search functions are added.
-  old cantus index domain is added as a global variable
@lucasmarchd01 lucasmarchd01 merged commit 653bf52 into DDMAL:develop Jun 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create tests for CISearchView
2 participants