Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Feb 16, 2017
1 parent 9bb94ab commit 7b8ec62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions _unittests/ut_jenkinshelper/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_jenkins_job_verif(self):
context = dict(Python34=None, Python35=os.path.dirname(sys.executable),
Python36=os.path.dirname(sys.executable),
Python27=None, Anaconda3=None, Anaconda2=None,
WinPython35=None, project_name="pyquickhelper",
WinPython36=None, project_name="pyquickhelper",
root_path="ROOT")
obj, name = load_yaml(yml, context=context)
for k, v in obj.items():
Expand Down Expand Up @@ -95,7 +95,7 @@ def test_jenkins_job_multiplication(self):
context = dict(Python34="fake", Python35=os.path.dirname(sys.executable) + "35",
Python36=os.path.dirname(sys.executable) + "36",
Python27="fake2", Anaconda3=None, Anaconda2=None,
WinPython35=None, root_path="ROOT")
WinPython36=None, root_path="ROOT")
obj, name = load_yaml(yml, context=context, platform="win")
assert name is not None
res = list(enumerate_convert_yaml_into_instructions(
Expand Down Expand Up @@ -142,7 +142,7 @@ def zz_st_jconvert_sequence_into_batch_file(self, platform):
context = dict(Python34="fake", Python35="C:\\Python35_x64",
Python36="C:\\Python36_x64",
Python27=None, Anaconda3=None, Anaconda2=None,
WinPython35=None, project_name="pyquickhelper",
WinPython36=None, project_name="pyquickhelper",
root_path="ROOT")
obj, name = load_yaml(yml, context=context, platform=platform)
assert name is not None
Expand Down Expand Up @@ -284,7 +284,7 @@ def test_jconvert_sequence_into_batch_file27(self):
context = dict(Python34=None, Python35="C:\\Python35_x64",
Python36="C:\\Python36_x64",
Python27="C:\\Python27_x64", Anaconda3=None, Anaconda2=None,
WinPython35=None, project_name="pyquickhelper",
WinPython36=None, project_name="pyquickhelper",
root_path="ROOT")
obj, name = load_yaml(yml, context=context, platform=platform)
assert name is not None
Expand Down
4 changes: 2 additions & 2 deletions _unittests/ut_jenkinshelper/test_yaml_jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_jenkins(self):
Python36=os.path.dirname(sys.executable),
Python27="c:\\Python27_x64",
Anaconda3="c:\\Anaconda3", Anaconda2="c:\\Anaconda2",
WinPython35="c:\\PythonENSAE",
WinPython36="c:\\PythonENSAE",
root_path="d:\\jenkins\\yml")
git_repo = "https://github.com/sdpython/pyquickhelper.git"
srv = JenkinsExt("http://localhost:8080/", "user", "password",
Expand Down Expand Up @@ -109,7 +109,7 @@ def private_tst_jenkins_ext_setup_server_yaml(self, disable_schedule, credential
Python36=os.path.dirname(sys.executable),
Python27="c:\\Python27_x64",
Anaconda3="c:\\Anaconda3", Anaconda2="c:\\Anaconda2",
WinPython35="c:\\PythonENSAE",
WinPython36="c:\\PythonENSAE",
root_path="d:\\jenkins\\yml")

srv = JenkinsExt(
Expand Down

0 comments on commit 7b8ec62

Please sign in to comment.