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:
parent
db413e4a35
commit
560e9ee6db
4
main.py
4
main.py
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue