diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py')
-rw-r--r-- | testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py b/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py deleted file mode 100644 index 89764bf68..000000000 --- a/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py +++ /dev/null @@ -1,17 +0,0 @@ -import os -import sys -import unittest - -sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) -import base_test - - -class EcmasScriptTest(base_test.WebDriverBaseTest): - def test_that_ecmascript_returns_document_title(self): - self.driver.get(self.webserver.where_is("ecmascript/res/ecmascript_test.html")) - result = self.driver.execute_script("return document.title;"); - self.assertEquals("ecmascript test", result); - - -if __name__ == "__main__": - unittest.main() |