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

Updates to utility scripts to play well with updated bulk_tester class #233

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

mckeownp
Copy link
Collaborator

Updates to various scripts that use bulk_tester (eg, findduplicatesindex, prototypeusageindex, and downloadquizattempts). Mostly changing them to use static methods rather than initialising bulk_tester instances. The constructor for bulk_tester now defaults to setting context to the site level context (typically 1) if a context isn't provided.
Also updated bulktestall to play nice with the grading cache by setting the page context to match the course context for the questions being tested.

@trampgeek trampgeek merged commit 157bca2 into trampgeek:development Jan 21, 2025
5 checks 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.

2 participants