~michael.nelson/canonical-identity-provider/add-convoy-combo

« back to all changes in this revision

Viewing changes to identityprovider/tests/test_language_selection.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2013-04-01 18:23:16 UTC
  • mfrom: (753.4.12 the-hand-is-quicker-2)
  • Revision ID: tarmac-20130401182316-ioglnxyjdmsu0xqf
[r=matiasb] - Cleanup of testing views: replaced logic from urls.py with the new decorator require_testing_enabled (moved from webui project).
- Removed dummy and dummy hooks testing views.
- Removed fixtures from leftover tests from identity provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
class SelectLanguagePageTestCase(SSOBaseTestCase):
5
5
 
6
 
    def setUp(self):
7
 
        super(SelectLanguagePageTestCase, self).setUp()
8
 
 
9
 
        self.client.login(username='mark@example.com', password='test')
10
 
 
11
6
    def test_link_for_language_choosing_is_displayed_on_main_page(self):
12
7
        r = self.client.get('/')
13
8
        self.assertContains(r, 'id="language_footer"')