Skip to content

Commit

Permalink
test(main.py): skipped entrypoint from coverage report
Browse files Browse the repository at this point in the history
the condition "if __name__ == '__main__'" is not important for coverage
  • Loading branch information
lewoudar committed Jan 14, 2024
1 parent 4798956 commit 1a27723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ws/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ def cli():
cli.add_command(command)


if __name__ == '__main__':
if __name__ == '__main__': # pragma: no cover
cli()

0 comments on commit 1a27723

Please sign in to comment.