1 | |
---|
2 | from allmydata.test.tilting import TiltingMixin |
---|
3 | from twisted.trial import unittest |
---|
4 | from twisted.internet import defer |
---|
5 | |
---|
6 | # web browsers may take a long time to load |
---|
7 | timeout = 1200 |
---|
8 | |
---|
9 | |
---|
10 | class TahoeExplorerTestMixin: |
---|
11 | def start_gateway(self): |
---|
12 | self.settings['TEST_URL'] = "http://127.0.0.1:9999/test" |
---|
13 | |
---|
14 | def test_dummy(self): |
---|
15 | self.failUnless(True) |
---|
16 | |
---|
17 | |
---|
18 | class FirefoxTest(TahoeExplorerTestMixin, TiltingMixin, unittest.TestCase): |
---|
19 | def configure(self): |
---|
20 | self.browserName = "firefox" |
---|
21 | |
---|
22 | class InternetExplorerTest(TahoeExplorerTestMixin, TiltingMixin, unittest.TestCase): |
---|
23 | def configure(self): |
---|
24 | self.browserName = "ie" |
---|
25 | |
---|
26 | class SafariTest(TahoeExplorerTestMixin, TiltingMixin, unittest.TestCase): |
---|
27 | def configure(self): |
---|
28 | self.browserName = "safari" |
---|
29 | |
---|
30 | class ChromeTest(TahoeExplorerTestMixin, TiltingMixin, unittest.TestCase): |
---|
31 | def configure(self): |
---|
32 | self.browserName = "chrome" |
---|