Properly typecheck tests.app (#14984

This commit is contained in:
David Robertson 2023-02-03 19:22:40 +00:00 committed by GitHub
parent f0cae26d58
commit e301ee6189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 15 deletions

View file

@ -19,7 +19,7 @@ from tests.config.utils import ConfigFileTestCase
class HomeserverAppStartTestCase(ConfigFileTestCase):
def test_wrong_start_caught(self):
def test_wrong_start_caught(self) -> None:
# Generate a config with a worker_app
self.generate_config()
# Add a blank line as otherwise the next addition ends up on a line with a comment