]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Moving testsuite directory to root folder
authorKartheek Lenkala <lkarthee@gmail.com>
Sun, 22 Mar 2015 11:31:50 +0000 (17:01 +0530)
committerKartheek Lenkala <lkarthee@gmail.com>
Sun, 22 Mar 2015 11:31:50 +0000 (17:01 +0530)
25 files changed:
Makefile
jinja2/testsuite/conftest.py [deleted file]
pytest.ini [deleted file]
run-tests.py [deleted file]
testsuite/conftest.py [moved from jinja2/testsuite/fixtures.py with 95% similarity]
testsuite/res/__init__.py [moved from jinja2/testsuite/res/__init__.py with 100% similarity]
testsuite/res/templates/broken.html [moved from jinja2/testsuite/res/templates/broken.html with 100% similarity]
testsuite/res/templates/foo/test.html [moved from jinja2/testsuite/res/templates/foo/test.html with 100% similarity]
testsuite/res/templates/syntaxerror.html [moved from jinja2/testsuite/res/templates/syntaxerror.html with 100% similarity]
testsuite/res/templates/test.html [moved from jinja2/testsuite/res/templates/test.html with 100% similarity]
testsuite/test_api.py [moved from jinja2/testsuite/test_api.py with 100% similarity]
testsuite/test_bytecode_cache.py [moved from jinja2/testsuite/test_bytecode_cache.py with 100% similarity]
testsuite/test_core_tags.py [moved from jinja2/testsuite/test_core_tags.py with 100% similarity]
testsuite/test_debug.py [moved from jinja2/testsuite/test_debug.py with 100% similarity]
testsuite/test_ext.py [moved from jinja2/testsuite/test_ext.py with 100% similarity]
testsuite/test_filters.py [moved from jinja2/testsuite/test_filters.py with 100% similarity]
testsuite/test_imports.py [moved from jinja2/testsuite/test_imports.py with 100% similarity]
testsuite/test_inheritance.py [moved from jinja2/testsuite/test_inheritance.py with 100% similarity]
testsuite/test_lexnparse.py [moved from jinja2/testsuite/test_lexnparse.py with 100% similarity]
testsuite/test_loader.py [moved from jinja2/testsuite/test_loader.py with 100% similarity]
testsuite/test_regression.py [moved from jinja2/testsuite/test_regression.py with 100% similarity]
testsuite/test_security.py [moved from jinja2/testsuite/test_security.py with 100% similarity]
testsuite/test_tests.py [moved from jinja2/testsuite/test_tests.py with 100% similarity]
testsuite/test_utils.py [moved from jinja2/testsuite/test_utils.py with 100% similarity]
tox.ini

index 8adbf042fb46fcde16d555a67c4b02188b156c74..79db0f5717f1fd63120fb694771ee1da5fe36b8d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 test:
-       py.test jinja2
+       py.test --doctest-modules testsuite jinja2
 
 develop:
        pip install --editable .
diff --git a/jinja2/testsuite/conftest.py b/jinja2/testsuite/conftest.py
deleted file mode 100644 (file)
index f8154ea..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- 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 *
diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644 (file)
index df3eb51..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-[pytest]
-addopts = --doctest-modules
diff --git a/run-tests.py b/run-tests.py
deleted file mode 100644 (file)
index f8d5024..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env python
-import sys, os
-sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
-from jinja2.testsuite import main
-main()
similarity index 95%
rename from jinja2/testsuite/fixtures.py
rename to testsuite/conftest.py
index 2e024f64e138c27d4722259bc55d503bd1a3e0bc..b5582323d7ee4654aae3263edd8704bb923f72b9 100644 (file)
@@ -1,9 +1,9 @@
 # -*- 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.
diff --git a/tox.ini b/tox.ini
index e02581d1cbac0a65bd6463c2a6ebb55217e84781..ff5125bb74deed4688375368b6fb11820721e210 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -2,4 +2,4 @@
 envlist = py26, py27, pypy, py33, py34
 
 [testenv]
-commands = py.test jinja2
+commands = py.test --doctest-modules testsuite jinja2