Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip unit tests which require optional dependencies (#9031) | Richard van der Hoff | 2021-01-07 | 1 | -0/+11 |
| | | | If we are lacking an optional dependency, skip the tests that rely on it. | ||||
* | Do not raise a 500 exception when previewing empty media. (#8883) | Patrick Cloke | 2020-12-07 | 1 | -11/+16 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -68/+68 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -38/+17 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+4 |
| | |||||
* | Fix crash in url preview when html tag has no text | Marcin Bachry | 2016-12-14 | 1 | -0/+50 |
| | | | | Signed-off-by: Marcin Bachry <hegel666@gmail.com> | ||||
* | test_preview: Fix incorrect wrapping | Johannes Löthberg | 2016-12-05 | 1 | -2/+2 |
| | | | | | | | The old test expected an incorrect wrapping due to the preview function not using unicode properly, so it got the wrong length. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||||
* | Make test_preview use unicode strings | Johannes Löthberg | 2016-12-05 | 1 | -68/+68 |
| | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||||
* | Fix up preview URL API. Add tests. | Erik Johnston | 2016-08-16 | 1 | -1/+79 |
| | | | | | | | | | This includes: - Splitting out methods of a class into stand alone functions, to make them easier to test. - Adding unit tests to split out functions, testing HTML -> preview. - Handle the fact that elements in lxml may have tail text. | ||||
* | Test summarization | Erik Johnston | 2016-08-04 | 1 | -0/+139 |