Commit Graph

31 Commits

Author SHA1 Message Date
James Addison
f8323cf404
Additional test coverage for async rendering of native type templates (#1807) 2024-07-10 09:14:52 -07:00
Danny Sepler
06c646df2d
Use pathlib in some test places 2021-05-18 10:30:11 -07:00
David Lord
1932ce3dc4
async support doesn't require patching 2021-04-10 16:12:25 -07:00
David Lord
e08dadd220
Merge branch '2.11.x' 2020-02-05 20:39:04 -08:00
David Lord
dd5a0508c5
remove custom pytest marks 2020-02-05 20:23:47 -08:00
David Lord
2a8515d2e5
apply pyupgrade and f-strings 2020-02-05 08:44:15 -08:00
David Lord
4a59ac9514
Revert "rename imports to jinja"
This reverts commit 1167525b73.
2020-01-26 21:12:52 -08:00
David Lord
1167525b73
rename imports to jinja 2020-01-10 15:30:16 -08:00
David Lord
51c1c8efa6
simplify module docstrings 2020-01-10 13:42:02 -08:00
David Lord
04c8787155
apply black 2020-01-10 07:54:39 -08:00
David Lord
d177eeb295
apply reorder-python-imports 2020-01-10 07:54:39 -08:00
Alex Chan
12307960dc
support pathlib in FileSystemLoader and ModuleLoader 2019-10-21 06:13:58 -07:00
EtiennePelletier
53a5d0aa44
Add tests for utils.py - LRUCache, Lorem Ipsum & + 2019-10-04 08:25:34 -07:00
Ralph Giles
c61b366c02
Register custom test category markers.
Since around pytest 3.6 it's been possible to register custom
markers, and since version 4.5.0 pytest warns about any which
are not registered. Register a list of such markers, extracted
from those warnings, so they don't clutter the test output.
2019-07-20 13:53:54 -07:00
Adrian Moennich
04b30cdd5c Remove unused/duplicate imports 2017-01-09 00:21:45 +01:00
Armin Ronacher
bbe0a4174c Bump up the copyright to 2017 2017-01-07 16:17:14 +01:00
Armin Ronacher
6445ec0861 First pass on async support for filters 2016-12-28 23:18:51 +01:00
Armin Ronacher
7265e6f9f3 Make tests pass on older python versions again 2016-12-28 21:54:33 +01:00
Kartheek Lenkala
ee2cb97449 Rename testsuite to tests and suggestions
Remove  py.test from setup.py install_requires
Rename testsuite folder to tests.
2015-03-22 18:03:14 +05:30
Armin Ronacher
42979eb9ff Got rid of py.testisms.
--HG--
branch : trunk
2009-07-26 11:08:50 +02:00
Rene Leonhardt
c7e6c6d2e5 Support nose framework for the whole test suite.
--HG--
branch : trunk
2009-04-20 23:08:53 +02:00
Armin Ronacher
62ccd1be3d Copyright switch to "The Jinja Team".
--HG--
branch : trunk
2009-01-04 14:26:19 +01:00
Armin Ronacher
abd3657a64 Added non-babel output mode to extract_from_ast, integreated jinja2 doctests directly into the py.test suite (ugh, that's an ugly hack)
--HG--
branch : trunk
2008-06-27 08:45:19 +02:00
Armin Ronacher
7259c7664c moved caching from loaders to environment and added environment overlays
--HG--
branch : trunk
2008-04-30 13:03:59 +02:00
Armin Ronacher
f41d1397f6 fixed more unittests
--HG--
branch : trunk
2008-04-18 16:41:52 +02:00
Christoph Hack
e9e43bbabc converted unit tests, started rewriting filters
--HG--
branch : trunk
2008-04-13 23:35:48 +02:00
Armin Ronacher
143a07e896 [svn] added simple memcached loader test
--HG--
branch : trunk
2007-06-02 01:47:34 +02:00
Armin Ronacher
ccf284bd2f [svn] added many new tests to jinja
--HG--
branch : trunk
2007-05-21 16:44:26 +02:00
Armin Ronacher
ee2c18ef16 [svn] added c implementation of the jinja context class.
--HG--
branch : trunk
2007-04-20 22:39:04 +02:00
Armin Ronacher
c1e3040890 [svn] fixed jinja inheritance bug and improved unittests
--HG--
branch : trunk
2007-03-18 22:41:09 +01:00
Armin Ronacher
ab45b845d5 [svn] added jinja doctests and fixed problem with i18n strings in requirements
--HG--
branch : trunk
2007-03-18 20:47:50 +01:00