aboutsummaryrefslogtreecommitdiffstats
path: root/tests/options
Commit message (Collapse)AuthorAgeFilesLines
* Refactor options testsWaylan Limberg2018-07-312-4/+0
|
* smart_emphasis keyword > legacy_em extension.Waylan Limberg2018-07-312-2/+0
| | | | | | | | | The smart_strong extension has been removed and its behavior is now the default (smart em and smart strong are the default). The legacy_em extension restores legacy behavior (no smart em or smart strong). This completes the removal of keywords. All parser behavior is now modified by extensions, not by keywords on the Markdown class.
* Remove lazy_ol keyword. Use sane_lists extension instead.Waylan Limberg2018-07-312-35/+0
| | | | This was adapted from 11408e50 of the md3 branch.
* Removed unnessecary no attributes test. (#694)Waylan Limberg2018-07-312-5/+0
| | | This was missed in #683.
* Switch from nose to unittestWaylan Limberg2018-01-081-11/+0
| | | | | | | | | | | | | | | All file-based tests are now defined as unittest test cases via a metaclass which walks a directory and builds a unittest for each pair of test files. To run the tests just run `python -m unittest discover tests`. Or use tox as the tox config has been updated to run the new tests and all nose specific code has been removed. The test generator tools have been removed as well. If any changes or additions need to be made to tests, they should be implemented using the new framework rather than with the file-based tests. Eventually, only the PHP and pl tests should remain as file-based tests.
* Added some inline pattenr tests.Waylan Limberg2014-08-253-0/+5
| | | | | | | | | markdown/inlinepatterns.py is now at 99% coverage. I have no idea why the two remaining lines are not not covered. I it not clear to me under what circumstances this two if statements would ever evaluate to True. I'm inclined to just remove them, but perhaps there is an edge case I'm missing. I'll take another look later.
* Refactored test framework to use YAML config files rather than INI. Fixes #333.Waylan Limberg2014-08-205-2/+17
|
* Made lazy ordered lists a settable option. The previous behavior (on) is the ↵Waylan Limberg2011-04-293-0/+37
default.