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

Fix Submission.can_see_detail erroring when user is not authenticated #1423

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

Ninjaclasher
Copy link
Member

This is not an issue for the current uses of Submission.can_see_detail as all instances are guarded by some variation of LoginRequiredMixin, but it's nice to have working code...

This PR is required to allow the unittests in #1416 to pass (correctly).

@codecov-commenter
Copy link

Codecov Report

Merging #1423 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1423   +/-   ##
=======================================
  Coverage   37.92%   37.92%           
=======================================
  Files         198      198           
  Lines       11339    11339           
=======================================
  Hits         4300     4300           
  Misses       7039     7039           
Impacted Files Coverage Δ
judge/models/submission.py 63.70% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06028a1...4c636e0. Read the comment docs.

@quantum5 quantum5 merged commit 50ba7b3 into DMOJ:master Jun 3, 2020
@Ninjaclasher Ninjaclasher deleted the submission-checks branch June 3, 2020 00:42
outloudvi pushed a commit to SchOJ/site that referenced this pull request Oct 27, 2020
malbareda pushed a commit to malbareda/JOEL-web that referenced this pull request Jan 4, 2024
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.

3 participants