]> git.parisson.com Git - django-social-auth.git/commitdiff
Check facebook Allow app screen on test
authorMatías Aguirre <matiasaguirre@gmail.com>
Wed, 25 May 2011 16:20:43 +0000 (13:20 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Wed, 25 May 2011 16:20:43 +0000 (13:20 -0300)
contrib/tests/test_core.py

index 333e79fcbbc9f02e06b6901fd39686ccaa96dfe7..b1fb5900a583c0be74cc43a1ab0b57bfc50a0530 100644 (file)
@@ -121,6 +121,11 @@ class BackendsTest(TestCase):
         password_field.send_keys(TEST_FACEBOOK_PASSWORD)
         password_field.submit()
 
+        try:
+            self.driver.find_element_by_name('grant_clicked').click()
+        except:
+            pass
+
         # We check the user logged in
         heading = self.driver.find_element_by_id('heading')
         if not heading.text == u'Logged in!':