python/pystache/test_pystache.py
author Michael Comella <michael.l.comella@gmail.com>
Wed, 22 Apr 2015 16:45:23 -0700
changeset 272491 501e46e3e348fdf8e503f330d40d538456d10544
parent 252775 5edda558c6555e518d3579f89854b556c453c66a
permissions -rw-r--r--
Bug 1137483 - Set content description of SearchEngineBar items. r=liuche I tested with Talkback to ensure only the outer container of each search engine favicon is selected.

#!/usr/bin/env python
# coding: utf-8

"""
Runs project tests.

This script is a substitute for running--

    python -m pystache.commands.test

It is useful in Python 2.4 because the -m flag does not accept subpackages
in Python 2.4:

  http://docs.python.org/using/cmdline.html#cmdoption-m

"""

import sys

from pystache.commands import test
from pystache.tests.main import FROM_SOURCE_OPTION


def main(sys_argv=sys.argv):
    sys.argv.insert(1, FROM_SOURCE_OPTION)
    test.main()


if __name__=='__main__':
    main()