Skip to content
Browse files

correct tests

  • Loading branch information...
1 parent 494cc29 commit 3eebac99779560cbd9d31544d0a8c1fc04e5efab @omansion omansion committed Dec 9, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/test_admin.py
View
4 tests/test_admin.py
@@ -1,4 +1,6 @@
#-*- coding: utf-8 -*-
+import time
+
from selenose.cases import SeleniumTestCase
from djangosanetesting.cases import HttpTestCase
@@ -16,6 +18,8 @@ def test_login(self):
password.send_keys('admin')
# Submit the form
password.submit()
+ # Load page
+ time.sleep(2)
# Check that welcomed
self.assertTrue(self.driver.find_element_by_id('user-tools').text.startswith('Welcome'))

0 comments on commit 3eebac9

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