summaryrefslogtreecommitdiffstats
path: root/toolkit/components/microformats/test/marionette/test_standards.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/microformats/test/marionette/test_standards.py')
-rw-r--r--toolkit/components/microformats/test/marionette/test_standards.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/marionette/test_standards.py b/toolkit/components/microformats/test/marionette/test_standards.py
new file mode 100644
index 000000000..ec688fe78
--- /dev/null
+++ b/toolkit/components/microformats/test/marionette/test_standards.py
@@ -0,0 +1,17 @@
+# Code example copied from mozilla-central/browser/components/loop/
+# need to get this dir in the path so that we make the import work
+import os
+import sys
+sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '..', 'marionette')))
+
+from microformats_tester import BaseTestFrontendUnits
+
+
+class TestStandardsUnits(BaseTestFrontendUnits):
+
+ def setUp(self):
+ super(TestStandardsUnits, self).setUp()
+ self.set_server_prefix("/test/standards-tests/")
+
+ def test_units(self):
+ self.check_page("index.html")