davehunt/bidpom — pull request #7 by jrgm (2012-03-12 20:34:48+00:00)
Title: To deal with changes in signin flow in the upcoming train-2012.03.01 bra...

...nch of browserid that will go to production 2012-03-14, optionally look for BROWSERID_TRAIN in the environment and switch behaviour based on that. Not really keen on using the environment for this, but for now...

This is mostly a strawman pull request. If there better ways you'd like to fix this, then just punt on this PR and do that. In particular as I say above I don't like the use of environment here, but unless I'm reading this wrong, bidpom has no access to the mozwebqa object, so using conftest.py in e.g., BrowserID-Tests/myfavoritebeer to add a command-line option is out.

Just FYI, the browserid workflow is that there is no 'master' branch. Instead it's called dev. Every two weeks, a branch is cut from dev called 'train-YYYY.mm.dd' and that goes first into stage (e.g., beta.myfavoritebeer.org and diresworb.org) for final testing and localization time, and then that branch moves to production (e.g., myfavoritebeer.org and browserid.org) after two weeks.