On ne cherche pas à couvrir ce qui n'est pas testable

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-01-28 18:06:54 +01:00
parent db413e4a35
commit 560e9ee6db
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from random import choice
import sys
def main():
def main(): # pragma: nocover
"""
Fonction principale, qui va attendre les instructions de l'utilisateur.
"""
@ -117,5 +117,5 @@ def stop(exit_code: int = 0):
sys.exit(exit_code)
if __name__ == '__main__':
if __name__ == '__main__': # pragma: nocover
main()