summaryrefslogtreecommitdiff
path: root/tests/test_async.py
Commit message (Collapse)AuthorAgeFilesLines
* async support doesn't require patchinginline-asyncDavid Lord2021-04-101-1/+1
|
* NativeEnvironment supports async moderemidebette2021-04-051-0/+24
|
* add Undefined.__aiter__Jafnee2021-04-051-0/+14
|
* fix new formatting issuesDavid Lord2021-01-301-1/+1
|
* Merge branch '2.11.x'David Lord2020-03-301-0/+11
|\
| * namespace object works in async templatesBart Feenstra2020-03-301-0/+11
| |
* | Merge branch '2.11.x'David Lord2020-02-051-5/+0
|\ \ | |/
| * remove custom pytest marksDavid Lord2020-02-051-5/+0
| |
* | apply pyupgrade and f-stringsDavid Lord2020-02-051-5/+4
|/
* Added regression test for slicing of attributesArmin Ronacher2020-01-301-0/+4
|
* Revert "rename imports to jinja"David Lord2020-01-261-7/+7
| | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
* rename imports to jinjaDavid Lord2020-01-101-7/+7
|
* apply flake8David Lord2020-01-101-10/+6
|
* apply blackDavid Lord2020-01-101-195/+275
|
* apply reorder-python-importsDavid Lord2020-01-101-4/+8
|
* refactor visit_OutputDavid Lord2019-11-201-7/+6
| | | | | | | | | | | | * `finalize` is generated once and cached for all nodes. * Extract common behavior for native env. Removed the compiler behavior where groups of nodes would generate a format string. Instead, individual nodes are always yielded. This made rendering 30% faster in the examples, and simplifies the code. It also removes the issue where Python would report either the first or last line of the multi-line format expression, messing up the traceback line number mapping.
* async templates await attribute accessrefactor-loop-contextDavid Lord2019-11-071-20/+12
|
* Replaced try...catch within tests with pytest.raisespytest-cleanupKevin Brown2019-10-101-6/+4
| | | | | | This still leaves one in test_debug which relies on reading out the traceback and cannot easily be replaced by pytest.raises like the others.
* Add changed() to loop contextAdrian Moennich2017-06-241-0/+7
|
* Add previtem/nextitem to loop contextAdrian Moennich2017-06-241-0/+20
| | | | related: #641
* Fixed async macro autoescape. Fixes #671Armin Ronacher2017-01-281-0/+15
|
* Resolved extends errors in async mode (Fixes #668)Armin Ronacher2017-01-241-0/+4
|
* Correctly scope loop filters. Fixes #649Armin Ronacher2017-01-091-0/+49
|
* Remove unused/duplicate importsAdrian Moennich2017-01-091-1/+0
|
* Make tests pass on older python versions againArmin Ronacher2016-12-281-11/+0
|
* Support the same set of loop functions for async modeArmin Ronacher2016-12-281-1/+176
|
* Added support for async loop contextArmin Ronacher2016-12-281-1/+12
|
* Added basic support for async iterArmin Ronacher2016-12-281-0/+11
|
* Wrap generate to support async modeArmin Ronacher2016-12-281-0/+8
|
* Auto skip async tests for importsArmin Ronacher2016-12-281-0/+2
|
* Added tests for async functionality with imports and includesArmin Ronacher2016-12-281-7/+142
|
* Restore original render func for non async usageArmin Ronacher2016-12-281-0/+19
|
* Basic async support for blocksArmin Ronacher2016-12-281-0/+11
|
* Improved async testArmin Ronacher2016-12-281-4/+7
|
* Added test for macro async supportArmin Ronacher2016-12-281-0/+12
|
* Automatically await on function calls if necessaryArmin Ronacher2016-12-281-0/+21
|
* Initial support for async renderingArmin Ronacher2016-12-281-0/+21