1 | from os import path |
---|
2 | from shutil import copytree |
---|
3 | from allmydata.test import tilting |
---|
4 | |
---|
5 | timeout = 1200 |
---|
6 | |
---|
7 | class DummyTiltingJSTest: |
---|
8 | def copy_application(self): |
---|
9 | self.settings["JAVASCRIPT_TEST_DIR"] = "../contrib/someapp/tests" |
---|
10 | |
---|
11 | # it will set self.settings["TEST_URL"] to "http://127.0.0.1:{tahoe_port}/static/someapp" |
---|
12 | self.test_url = "static/app" |
---|
13 | copytree("../contrib/someapp", self.public_html_path + "/someapp") |
---|
14 | |
---|
15 | class FirefoxTest(DummyTiltingJSTest, tilting.JSTestsMixin, tilting.Firefox): |
---|
16 | pass |
---|