Skip to content
Snippets Groups Projects
Commit b828d43a authored by Florian Bruhin's avatar Florian Bruhin
Browse files

tests: Add no cover pragmas

parent a6cb022c
No related branches found
No related tags found
No related merge requests found
......@@ -101,4 +101,4 @@ def upload_file(
if __name__ == "__main__":
app()
app() # pragma: no cover
......@@ -87,7 +87,7 @@ class TestArgumentParsing:
nb_path.touch()
nb_path.chmod(0)
if os.access(nb_path, os.R_OK):
pytest.skip("failed to make file unreadable")
pytest.skip("failed to make file unreadable") # pragma: no cover
result = runner.invoke(cli.app, [str(nb_path)])
print(result.stdout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment