diff options
author | 2019-10-11 18:11:43 +0200 | |
---|---|---|
committer | 2019-10-11 18:11:43 +0200 | |
commit | 70fb1315199d83f53d24b0772c940e66422d4cd4 (patch) | |
tree | 93b9da1b113e8a772b5b994a4b185812c1ca7878 /tests/base.py | |
parent | Migrate pytest to unittest (diff) |
Add tests for tests.base
I forgot to test some aspects of the `tests.base` module, including
some branches of the `self.assertNotLogs` method. I've corrected that
by including a couple of tests.
I also removed the test result publishing from the Azure pipeline,
since I've not configured an XML test runner yet. The coverage report
is still published, of course and test output will be available in
standard out, so information is readily available.
Diffstat (limited to 'tests/base.py')
-rw-r--r-- | tests/base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/base.py b/tests/base.py index 625dcc0a8..029a249ed 100644 --- a/tests/base.py +++ b/tests/base.py @@ -12,9 +12,6 @@ class _CaptureLogHandler(logging.Handler): super().__init__() self.records = [] - def flush(self): - pass - def emit(self, record): self.records.append(record) |