summaryrefslogtreecommitdiff
path: root/tests/test_html.py
Commit message (Collapse)AuthorAgeFilesLines
* feat: warnings are now real warningsNed Batchelder2021-05-301-7/+8
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-8/+7
|
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-011-4/+3
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-2/+0
|
* refactor: our own change_dir context managerNed Batchelder2021-03-111-1/+1
| | | | We don't need to use the one from unittest_mixins.
* test: reduce use of unittestNed Batchelder2021-03-111-4/+4
|
* test: have pytest collect test classes uniformlyNed Batchelder2021-03-111-1/+1
|
* refactor: simplify a one-iteration loopNed Batchelder2021-02-251-4/+3
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-17/+13
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+1
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-47/+35
| | | | One step of moving to pure pytest tests.
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-101-19/+33
|
* Need new gold files for pep626 partial branch HTML reportNed Batchelder2021-01-101-16/+34
|
* Fix tests for GitHub windows platformNed Batchelder2020-11-281-1/+3
| | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly.
* More bitbucket->github urlsNed Batchelder2020-08-181-5/+5
|
* Displaying timezone information in HTML report (#960)Xie Yanbo2020-07-231-0/+6
| | | | | | | | * Displaying timezone information in HTML report * A helpber to format datetime with local timezone * No backward compatibility with older python versions
* fix context reporting for relative_filesDavid Szotten2019-12-211-0/+17
| | | | | | fix reporting of contexts when `relative_files = True` fixes #900
* Polish up cmd.rstNed Batchelder2019-12-081-1/+1
|
* Clean-ups I noticed while doing something elseNed Batchelder2019-11-171-1/+2
|
* Optionally skip empty files in reportsreybog902019-11-011-0/+14
|
* This test accidentally triggered our exclude regex during metacovNed Batchelder2019-10-141-7/+7
|
* More convenient gold file structureNed Batchelder2019-10-141-43/+40
|
* Remove vestigial debuggingNed Batchelder2019-10-141-2/+0
|
* I don't think I need my home dir scrubbedNed Batchelder2019-10-131-2/+0
|
* Better presentation of contexts. #855Ned Batchelder2019-10-131-4/+10
|
* Warn if asked to show context but none were measured. #851Ned Batchelder2019-10-101-11/+20
|
* The C tracer can do dynamic contexts, so don't skip this testNed Batchelder2019-10-101-4/+0
|
* Context patterns are regexes, not globsNed Batchelder2019-10-021-1/+1
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-1/+1
|
* Remove the JSON data codeNed Batchelder2019-07-101-1/+0
|
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-061-3/+3
| | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around.
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-3/+18
|
* Context reporting improvements and testNed Batchelder2019-06-301-5/+62
| | | | | Contexts should only be reported on lines that are marked as executed. The empty outer context is now reported as "(empty)".
* Make a Unicode character more apparent in the sourceNed Batchelder2019-06-301-2/+6
|
* TypoNed Batchelder2019-06-291-1/+1
|
* Remove ShiningPanda hackNed Batchelder2019-06-171-8/+0
|
* Make the incremental checker a little smarter.Ned Batchelder2019-06-171-2/+2
|
* This was a copy of an existing test. We need to write some new ones.Ned Batchelder2019-06-101-20/+1
|
* Add some tests for new methods.Stephan Richter2019-06-101-0/+24
|
* Refactored HTML tests dropped an assertNed Batchelder2019-06-101-0/+1
|
* Better tests of HTML delta generationNed Batchelder2019-05-261-41/+66
| | | | | | The old tests relied on deleting files and seeing them get recreated, which could be misleading. The new tests track which files were opened for writing, which is more accurate.
* Lint cleanupNed Batchelder2018-11-181-3/+2
|
* Rename farm to gold, since that's what it isNed Batchelder2018-11-181-14/+14
|
* Simplify the way we run coverage in these testsNed Batchelder2018-11-151-50/+14
|
* Compare the css files exactlyNed Batchelder2018-11-141-2/+2
|
* Update an HTML gold test due to new peephole optimizationsNed Batchelder2018-11-111-9/+5
|
* Always compare expected then actualNed Batchelder2018-11-111-17/+17
|
* Everything should get a docstringNed Batchelder2018-11-031-0/+1
|
* Use --source to ensure tests are showing what we want.Ned Batchelder2018-10-141-1/+1
| | | | | | | | | | | Travis started having these extra files in coverage reports from our tests: site-packages/pkg_resources/_vendor/six.py site-packages/pkg_resources/extern/__init__.py I don't know why they are being pulled in, but the tests aren't interested in them, and it is throwing off the results.