Beispiel #1
0
 def test_can_forward_on_history(self):
     "should be able to forward history"
     url = "%s/iframe" % EXAMPLE_APP.rstrip('/')
     self.browser.visit(url)
     self.browser.back()
     self.browser.forward()
     self.assertEqual(url, self.browser.url)
Beispiel #2
0
 def test_can_forward_on_history(self):
     "should be able to forward history"
     url = "%s/iframe" % EXAMPLE_APP.rstrip('/')
     self.browser.visit(url)
     self.browser.back()
     self.browser.forward()
     self.assertEqual(url, self.browser.url)
Beispiel #3
0
 def test_can_back_on_history(self):
     "should be able to back on history"
     self.browser.visit("%s/iframe" % EXAMPLE_APP.rstrip('/'))
     self.browser.back()
     self.assertEqual(EXAMPLE_APP, self.browser.url)
Beispiel #4
0
 def test_can_back_on_history(self):
     "should be able to back on history"
     self.browser.visit("%s/iframe" % EXAMPLE_APP.rstrip('/'))
     self.browser.back()
     self.assertEqual(EXAMPLE_APP, self.browser.url)