diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-06 01:04:11 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-08 20:41:18 -0500 |
commit | 49249b3fb6c458c2cbc34c409ba57cfae6e72320 (patch) | |
tree | e5cdbb09bf193f40ccc8735679d93a8c14aa591a /tests/pl | |
parent | 76e0a63e12dd964311c4350a5735bb7f51ef87a6 (diff) | |
download | markdown-49249b3fb6c458c2cbc34c409ba57cfae6e72320.tar.gz markdown-49249b3fb6c458c2cbc34c409ba57cfae6e72320.tar.bz2 markdown-49249b3fb6c458c2cbc34c409ba57cfae6e72320.zip |
Switch from nose to unittest
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.
Diffstat (limited to 'tests/pl')
-rw-r--r-- | tests/pl/Tests_2004/test.cfg | 10 | ||||
-rw-r--r-- | tests/pl/Tests_2007/test.cfg | 25 |
2 files changed, 0 insertions, 35 deletions
diff --git a/tests/pl/Tests_2004/test.cfg b/tests/pl/Tests_2004/test.cfg deleted file mode 100644 index 80f48e5..0000000 --- a/tests/pl/Tests_2004/test.cfg +++ /dev/null @@ -1,10 +0,0 @@ -DEFAULT: - input_ext: .text - normalize: True - # comment out next line to run these tests - #skip: True - -Yuri-Footnotes: - extensions: footnotes - skip: True - diff --git a/tests/pl/Tests_2007/test.cfg b/tests/pl/Tests_2007/test.cfg deleted file mode 100644 index 097aa0d..0000000 --- a/tests/pl/Tests_2007/test.cfg +++ /dev/null @@ -1,25 +0,0 @@ -DEFAULT: - input_ext: .text - normalize: True - # comment out next line to run these tests - #skip: True - -Images: - # the attributes don't get ordered the same so we skip this - skip: True - -Code Blocks: - # some weird whitespace issue - skip: True - -Links, reference style: - # weird issue with nested brackets TODO: fixme - skip: True - -Backslash escapes: - # backticks in raw html attributes TODO: fixme - skip: True - -Code Spans: - # more backticks in raw html attributes TODO: fixme - skip: True |