Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Stop skipping a login/read-only test.

  • Loading branch information...
commit f2321e078bb49e50de9cc9f2d89e1a147515ab27 1 parent 6b88601
James Socol authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 apps/sumo/tests/test_readonly.py
5 apps/sumo/tests/test_readonly.py
@@ -38,10 +38,9 @@ def test_db_error(self):
38 38 assert_raises(mysql.OperationalError, Question.objects.create, id=12)
39 39
40 40 def test_login_error(self):
41   - # TODO(james): Once we're authenticating in Django we can test this.
42   - raise SkipTest
43 41 # This tries to do a db write.
44   - r = self.client.get(reverse('users.login'))
  42 + url = reverse('users.login', locale='en-US')
  43 + r = self.client.get(url, follow=True)
45 44 eq_(r.status_code, 503)
46 45 title = pq(r.content)('title').text()
47 46 assert title.startswith('Maintenance in progress'), title

0 comments on commit f2321e0

Please sign in to comment.
Something went wrong with that request. Please try again.