aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-12-06Appease Python 2.7Brett Cannon
2019-12-06Specify file encodingsBrett Cannon
2019-12-06Revert test input file changesBrett Cannon
2019-12-02Update support for Python 3.7 & 3.8Brett Cannon
Starting in Python 3.7 the quoting support changed from RFC 2396 to RFC 3986.
2019-07-11Correct handling of empty/undef in list valuesTommy Yu
- Expansion of a list including `None` values, violating 3.2.1 as the undefined value is not ignored, e.g. >>> expand('/test{/x*}', x=['one', None, 'three']) '/test/one/None/three' - A list with empty string was ignored, violating 2.3 as this should not be tread as undefined, example: >>> expand('/test{/x}', x=[]) '/test' >>> expand('/test{/x}', x='') '/test/' >>> expand('/test{/x}', x=['']) '/test' # should be /test/ >>> expand('/test{/x}', x=['', '']) '/test/,' >>> expand('/test{/x*}', x=['', '']) '/test//' >>> expand('/test{/x*}', x=['']) '/test'
2019-07-11Tests covering current correct behaviors.Tommy Yu
2018-09-06Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgradeHugo
2018-09-06Fix pep8Hugo
2016-08-23Add missing variables functionIan Cordasco
At some point the uritemplate module added a variables function. This adds that interface to maintain compatibility. Closes #26
2016-08-17Clean up for Flake8Ian Cordasco
2016-08-17Fix handling of unicode values for Python 2Ian Cordasco
Closes #19
2015-11-12Issue #19 affects these tests as wellDaniel Imhoff
2015-11-12Handle non-strs in values for query expansionDaniel Imhoff
2015-10-04Only xfail Additional Examples 4 on Python 2Ian Cordasco
2015-10-04Clean up and actually run tests from fixturesIan Cordasco