fix coverage pragmas
This commit is contained in:
parent
935cb0a981
commit
54d6915ed7
|
@ -36,7 +36,7 @@ class MediaScanner:
|
|||
return self._glob
|
||||
|
||||
def find_sources(self, pattern):
|
||||
return self.root.rglob(pattern) # pragma: no-cover
|
||||
return self.root.rglob(pattern) # pragma: no cover
|
||||
|
||||
def import_tracks(self, sources: Iterable) -> None:
|
||||
for path in sources:
|
||||
|
|
|
@ -11,7 +11,7 @@ from groove.helper import PlaylistDatabaseHelper
|
|||
server = bottle.Bottle()
|
||||
|
||||
|
||||
def start(host: str, port: int, debug: bool) -> None:
|
||||
def start(host: str, port: int, debug: bool) -> None: # pragma: no cover
|
||||
"""
|
||||
Start the Bottle app.
|
||||
"""
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
env_override_existing_values = 1
|
||||
env_files = .test_env
|
||||
log_cli_level = DEBUG
|
||||
addopts = --cov=groove/ --cov-report=term
|
||||
addopts = --cov=groove/ --cov-report=term-missing
|
||||
|
|
Loading…
Reference in New Issue
Block a user