Permalink
Browse files

try to fix jenkins build

  • Loading branch information...
sdpython committed Mar 23, 2015
1 parent 98a8c2a commit 3428c33cbfb270ae2dd48ed2799953686e663e10
Showing with 15 additions and 5 deletions.
  1. +13 −2 src/code_beatrix/scratchs/__init__.py
  2. +2 −3 src/code_beatrix/scratchs/example_echiquier/__init__.py
@@ -2,11 +2,22 @@
shortcuts for scratch
"""
from .example_echiquier import check as check1
#from .example_echiquier import check as check1
def check1():
"""
vérifie que certains fichiers sont ici
"""
dirname = os.path.dirname(__file__)
f1 = os.path.exists(dirname, "echiquier.sb2")
if not os.path.exists(f1):
raise FileNotFoundError(f1)
f0 = os.path.exists(dirname, "echiquier0.sb2")
if not os.path.exists(f0):
raise FileNotFoundError(f0)
def check():
"""
run checking functions
"""
check1()
check1()
@@ -2,8 +2,7 @@
Exercice à propos du parcours d'un échiquier.
"""
def check():
def check1():
"""
vérifie que certains fichiers sont ici
"""
@@ -13,4 +12,4 @@ def check():
raise FileNotFoundError(f1)
f0 = os.path.exists(dirname, "echiquier0.sb2")
if not os.path.exists(f0):
raise FileNotFoundError(f0)
raise FileNotFoundError(f0)

0 comments on commit 3428c33

Please sign in to comment.