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

opencast / pyCA / 5906639669
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: selenium
DEFAULT BRANCH: master
Ran 18 Aug 2023 08:06PM UTC
Jobs 4
Files 16
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2023 08:04PM UTC coverage: 91.524% (+0.03%) from 91.491%
5906639669

push

github

lkiesow
Fix configuration without authentication

If an empty password was configured in the user interface configuration,
instead of requiring no authentication, pyCA would throw an internal
server error:

```
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/flask/app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lars/dev/opencast/pyCA/pyca/ui/utils.py", line 16, in decorated
    or auth.username != config('ui', 'username') \
       ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'username'
```

This patch fixes the issue.

6 of 6 new or added lines in 1 file covered. (100.0%)

961 of 1050 relevant lines covered (91.52%)

3.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5906639669.1 18 Aug 2023 08:06PM UTC 0
91.44
2 5906639669.2 18 Aug 2023 08:06PM UTC 0
91.52
3 5906639669.3 18 Aug 2023 08:06PM UTC 0
91.52
4 5906639669.4 18 Aug 2023 08:06PM UTC 0
91.44
Source Files on build 5906639669
Detailed source file information is not available for this build.
  • Back to Repo
  • 613d4f0d on github
  • Prev Build on main (#5906127217)
  • Next Build on main (#5906667308)
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

© 2026 Coveralls, Inc