summaryrefslogtreecommitdiff
path: root/toolkit/components/microformats/test/marionette/test_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/microformats/test/marionette/test_interface.py')
-rw-r--r--toolkit/components/microformats/test/marionette/test_interface.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/marionette/test_interface.py b/toolkit/components/microformats/test/marionette/test_interface.py
new file mode 100644
index 0000000000..aa34ef1c28
--- /dev/null
+++ b/toolkit/components/microformats/test/marionette/test_interface.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.join(os.path.dirname(__file__), '..', 'marionette'))
+
+from microformats_tester import BaseTestFrontendUnits
+
+
+class TestInterfaceUnits(BaseTestFrontendUnits):
+
+ def setUp(self):
+ super(TestInterfaceUnits, self).setUp()
+ self.set_server_prefix("/test/interface-tests/")
+
+ def test_units(self):
+ self.check_page("index.html")