markwalker,
@markwalker@fosstodon.org avatar

Having a look at why the #djangogirls test suite is failing.

4 failures, which ran in isolation don't fail. My favourite kind of start to test debugging 👀

markwalker,
@markwalker@fosstodon.org avatar

Oh no. It gets better.

Tests fail, then pass, then fail, then pass etc. without any code changes. 😬

markwalker,
@markwalker@fosstodon.org avatar

My first guess is that something changes the language, then it doesn't get changed back because I can see;

AssertionError: assert 'Numéro de demande' == 'Application Number'

markwalker,
@markwalker@fosstodon.org avatar

Nailed it 👏

If you want to assert strings to the English language, make sure your test sets the English language!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines