summaryrefslogtreecommitdiffstats
path: root/toolkit/components/microformats/test/marionette/test_standards.py
blob: ec688fe78a29290ddbbc8ea48cd089f9363b6103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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")