Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Configure settings in `tests/run.py` for Django 1.10+ | Brian Buck | 2016-08-24 | 1 | -0/+9 |
| | |||||
* | Test rendered file deletion or persistence for both debug options. | Josh | 2016-03-03 | 1 | -5/+22 |
| | |||||
* | Add test for temporary file is closed/deleted. | Josh | 2016-03-02 | 1 | -1/+25 |
| | |||||
* | Remove extraneous try/except. Revert test run script changes, but set ↵ | Josh | 2016-02-26 | 1 | -28/+16 |
| | | | | DEBUG=False. | ||||
* | Fix premature file delete on DEBUG=False. Modify test runner to check both ↵ | Josh | 2016-02-26 | 1 | -14/+26 |
| | | | | DEBUG options. | ||||
* | Merge pull request #99 from pauricthelodger/bytes-error | Max Peterson | 2016-02-19 | 1 | -2/+14 |
|\ | | | | | Fix unidecode bytes error on python2 | ||||
| * | Fix py26 bug and copypasta error | Padraic Harley | 2016-01-29 | 1 | -2/+2 |
| | | | | | | | | Python 2.6 doesn't allow empty format arguments: ``{}`` must be ``{0}``. Also second test is ``inline`` rather than ``attachment``. | ||||
| * | Assert once but get the filename from the ImportError | Padraic Harley | 2016-01-29 | 1 | -8/+8 |
| | | | | | | It was pointed out that instead setting the filename from the ``except/else`` makes what's being tested much clearer. | ||||
| * | Fix unidecode bytes error on python2 | Padraic Harley | 2015-12-18 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `bytes` takes no additional args in python2 unlike it's taking an encoding in python3. Unidecode returns a unicode string in python3 and a bytestring in python2 which, I believe, was the main cause of error #71. Now, regardless of whether unidecode is included, all strings passing through http_quote will be encoded to ascii which should fix both issues. Also included is a fix for a failing test when unidecode is used. Unidecode's `_unidecode` function ignores characters greater than 0xefff, which '\xe2\x99\xa5' (the heart symbol) is. This caused users with unidecode to fail '.pdf' was produced rather than the expected '?.pdf'. | ||||
* | | Remove dependency on Django template engine | Ryan Kaskel | 2016-02-17 | 1 | -1/+2 |
|/ | |||||
* | Extracted logic from views - fixed tests. | Jonathan Liuti | 2015-12-01 | 1 | -16/+14 |
| | | | | | | | | | | | The logic was coupled with the views which made things difficult to reuse if you wanted to use the pdf generation somehwere else than in a view. With this patch, the logic has been moved to `utils.py` and should be more easy to reuse. Tests have been adapted and made compatible with django > 1.7 | ||||
* | Enable tests to run with Django >= 1.7 and silence warnings | Tim Bell | 2015-10-21 | 1 | -0/+12 |
| | |||||
* | Makes tests.py lines 80 columns max. | Michel Sabchuk | 2014-09-01 | 1 | -4/+10 |
| | |||||
* | Makes unicode content views testing fails too. | Michel Sabchuk | 2014-09-01 | 1 | -5/+18 |
| | | | | | | The view didn't define any title in context and the templates itself doen't have unicode content. I forced it making a view with a unicode title in context. | ||||
* | Add failing test of unicode content. | Michel Sabchuk | 2014-09-01 | 1 | -0/+11 |
| | |||||
* | Aligned test to code update. | Paolo Melchiorre | 2014-07-03 | 1 | -4/+1 |
| | |||||
* | Bring back the test assert for title in content | Matt Lenc | 2014-06-19 | 1 | -2/+3 |
| | |||||
* | colour-runner dependency doesn't work on py2.6 | Matt Lenc | 2014-06-18 | 1 | -6/+1 |
| | | | | DAMN IT | ||||
* | Make teh tests run right | Matt Lenc | 2014-06-18 | 1 | -0/+43 |
| | | | | Because Django 1.6 and other fireworks. | ||||
* | Support moar Django | Matt Lenc | 2014-06-18 | 1 | -1/+0 |
| | | | | The future is now ;] | ||||
* | Update test reqs for Django with py3k support | Matt Lenc | 2014-06-18 | 1 | -1/+1 |
| | | | | | In near future we should support moar Djangos (and using Travis for this). | ||||
* | Add support for Python3 | Matt Lenc | 2014-06-18 | 1 | -17/+18 |
| | |||||
* | Merge branch 'master' of github.com:incuna/django-wkhtmltopdf into travis-setup | mattack108 | 2013-01-16 | 2 | -179/+154 |
|\ | |||||
| * | DRY on tests | mattack108 | 2013-01-15 | 1 | -140/+43 |
| | | |||||
| * | Fix tests and add new ones for show_content_in_browser feature | mattack108 | 2013-01-15 | 2 | -174/+246 |
| | | |||||
* | | Move requirements file to test project, update travis.yml | mattack108 | 2013-01-15 | 1 | -0/+1 |
|/ | |||||
* | Add a test for unicode. | Marc Tamlyn | 2012-08-31 | 2 | -0/+41 |
| | | | | This isn't great but better than nothing... | ||||
* | Move tests into wkhtmltopdf.tests.* | Marc Tamlyn | 2012-08-03 | 5 | -0/+281 |
Fixes #11. |