fune/toolkit/components/microformats/test/marionette/test_modules.py
Shane Caraveo 3ae390a6ed Bug 1262705 fix root path for microformats test class, r=mkaply
MozReview-Commit-ID: KvTsnmuHbx4

--HG--
extra : rebase_source : 84e0fc3917a5939db53d2d97f53c8c94d84aa402
2016-08-03 10:21:09 -07:00

17 lines
524 B
Python

# 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")