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

Testing: See if there's a better way testing indexing #24

Open
m-i-l opened this issue Dec 5, 2020 · 0 comments
Open

Testing: See if there's a better way testing indexing #24

m-i-l opened this issue Dec 5, 2020 · 0 comments
Labels
testing A change relating to the testing process or scripts

Comments

@m-i-l
Copy link
Contributor

m-i-l commented Dec 5, 2020

The run_tests.sh script just runs docker exec -it src_indexer_1 python /usr/src/app/search_my_site_scheduler.py at the moment. Need to figure out if there's a better way of testing the scraping process. There's a start in test_3_index.py but this throws a logging error and there isn't an assert to check for a return value or state. One workaround might be to implement the API call to trigger indexing for a site, i.e. #19

@m-i-l m-i-l added the testing A change relating to the testing process or scripts label Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing A change relating to the testing process or scripts
Projects
None yet
Development

No branches or pull requests

1 participant