zulip/corporate
Steve Howell 1b16693526 tests: Limit email-based logins.
We now have this API...

If you really just need to log in
and not do anything with the actual
user:

    self.login('hamlet')

If you're gonna use the user in the
rest of the test:

    hamlet = self.example_user('hamlet')
    self.login_user(hamlet)

If you are specifically testing
email/password logins (used only in 4 places):

    self.login_by_email(email, password)

And for failures uses this (used twice):

    self.assert_login_failure(email)
2020-03-11 17:10:22 -07:00
..
lib corporate: Consistently use delivery_email for billing. 2019-11-18 17:02:57 -08:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
tests tests: Limit email-based logins. 2020-03-11 17:10:22 -07:00
__init__.py Create non-localserver "corporate" app with jobs pages. 2013-11-06 12:07:31 -05:00
models.py billing: Add backend support for downgrading. 2019-04-11 23:27:42 -07:00
urls.py corporate: Add a /jobs page, with job posts for mobile/fullstack. 2019-05-22 22:20:58 -07:00
views.py corporate: Allow customer to go through /upgrade/ if their plan ended. 2020-02-13 17:40:04 -08:00