test:
- py.test jinja2
+ py.test --doctest-modules testsuite jinja2
develop:
pip install --editable .
+++ /dev/null
-# -*- coding: utf-8 -*-
-"""
- jinja2.testsuite.conftest
- ~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Configuration for the tests
-
- :copyright: (c) 2010 by the Jinja Team.
- :license: BSD, see LICENSE for more details.
-"""
-from fixtures import *
+++ /dev/null
-[pytest]
-addopts = --doctest-modules
+++ /dev/null
-#!/usr/bin/env python
-import sys, os
-sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
-from jinja2.testsuite import main
-main()
# -*- coding: utf-8 -*-
"""
- jinja2.testsuite.fixtures
+ jinja2.testsuite.conftest
~~~~~~~~~~~~~~~~~~~~~~~~~
- Contains fixtures used by tests.
+ Configuration and Fixtures for the tests
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
envlist = py26, py27, pypy, py33, py34
[testenv]
-commands = py.test jinja2
+commands = py.test --doctest-modules testsuite jinja2