diff options
Diffstat (limited to 'toolkit/components/microformats/test/marionette/test_modules.py')
-rw-r--r-- | toolkit/components/microformats/test/marionette/test_modules.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/marionette/test_modules.py b/toolkit/components/microformats/test/marionette/test_modules.py new file mode 100644 index 000000000..f2291259c --- /dev/null +++ b/toolkit/components/microformats/test/marionette/test_modules.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 TestModulesUnits(BaseTestFrontendUnits): + + def setUp(self): + super(TestModulesUnits, self).setUp() + self.set_server_prefix("/test/module-tests/") + + def test_units(self): + self.check_page("index.html") |