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

e-valuation / EvaP / 3439
95%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2019 05:45PM UTC
Jobs 1
Files 71
Run time 11s
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

pending completion
3439

push

travis-ci

web-flow
Save the language in the user's session on first visit (#1355)

This resolves the following inconsistency: If a user first visits the page, the brower's language gets written to user.language, but is not saved in the session. If the user now changes the browser's language, EvaP's language will also change. However, if the user logs out and logs in again, changing the browser's language will not change EvaP's language, because on the second login, the user.language will be written to the session.

@He3lixxx tripped over this while writing tests for the results cache, see #1229.

In addition, this moves the LocaleMiddleware before the AuthenticationMiddleware, since set_or_get_language (called during login) uses the active language, which is set by the AuthenticationMiddleware. Without this change, it was necessary to reset the language in the tests manually. A user-facing bug might occur if a user calls the login url directly, then they would probably have the language set that was currently active in the django thread.

1802 of 2118 branches covered (85.08%)

8990 of 9445 relevant lines covered (95.18%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3439.1 10 Jul 2019 05:45PM UTC 0
95.18
Travis Job 3439.1
Source Files on build 3439
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3439
  • 4b0f0c2b on github
  • Prev Build on master (#3435)
  • Next Build on master (#3442)
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