• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

liqd / adhocracy-plus / 18908688697

29 Oct 2025 12:59PM UTC coverage: 44.622% (-44.5%) from 89.135%
18908688697

Pull #2986

github

web-flow
Merge 1dfde8ee7 into 445e1d498
Pull Request #2986: Draft: Speed up Github Ci Tests

3012 of 6750 relevant lines covered (44.62%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

58.33
/apps/captcha/fields.py
1
from django import forms
1✔
2
from django.utils.translation import gettext_lazy as _
1✔
3

4
from .utils import verify_token
1✔
5
from .widgets import ProsopoCaptchaWidget
1✔
6

7

8
class ProsopoCaptchaField(forms.CharField):
1✔
9
    widget = ProsopoCaptchaWidget
1✔
10

11
    def validate(self, value):
1✔
12
        super().validate(value)
×
13

14
        if not value:
×
15
            raise forms.ValidationError(_("Please complete the captcha."))
×
16

17
        # Verify the token with Prosopo server
18
        if not verify_token(value):
×
19
            raise forms.ValidationError(
×
20
                _("Captcha verification failed. Please try again.")
21
            )
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc