|
10 | 10 | import builtins |
11 | 11 | import unittest |
12 | 12 | from imp import reload |
13 | | -import sys |
14 | 13 |
|
15 | 14 | from splinter.exceptions import DriverNotFoundError |
16 | 15 |
|
17 | 16 | from .fake_webapp import EXAMPLE_APP |
18 | | -from .test_djangoclient import django_installed |
19 | | -from .test_webdriver_chrome import chrome_installed |
20 | | -from .test_webdriver_firefox import firefox_installed |
21 | 17 |
|
22 | 18 |
|
23 | 19 | class BrowserTest(unittest.TestCase): |
@@ -59,20 +55,3 @@ def test_should_raise_an_exception_when_browser_driver_is_not_found(self): |
59 | 55 | with self.assertRaises(DriverNotFoundError): |
60 | 56 | from splinter import Browser |
61 | 57 | Browser('unknown-driver') |
62 | | - |
63 | | - @unittest.skipIf(not firefox_installed(), 'firefox is not installed') |
64 | | - def test_firefox_should_be_able_to_change_user_agent(self): |
65 | | - self.assertTrue(self.browser_can_change_user_agent('firefox')) |
66 | | - |
67 | | - @unittest.skipIf(not chrome_installed(), 'chrome is not installed') |
68 | | - def test_chrome_should_be_able_to_change_user_agent(self): |
69 | | - self.assertTrue(self.browser_can_change_user_agent('chrome')) |
70 | | - |
71 | | - @unittest.skipIf(sys.version_info[0] > 2, |
72 | | - 'zope.testbrowser is not currently compatible with Python 3') |
73 | | - def test_zope_testbrowser_should_be_able_to_change_user_agent(self): |
74 | | - self.assertTrue(self.browser_can_change_user_agent('zope.testbrowser')) |
75 | | - |
76 | | - @unittest.skipIf(not django_installed(), 'django is not installed') |
77 | | - def test_djangoclient_should_be_able_to_change_user_agent(self): |
78 | | - self.assertTrue(self.browser_can_change_user_agent('django')) |
0 commit comments