Commit 1396c4a4 authored by Benjamin Blanc's avatar Benjamin Blanc

gitclone: remove trailing whitespaces and new line at end of file

parent cdea23bf
......@@ -92,7 +92,7 @@ class GitCloneNonInformativeTests(unittest.TestCase):
self.assertTrue(os.path.exists(git_repository_path))
self.assertFalse(os.path.exists(bad_file_path), "pyc file not removed")
def test_ignore_ssl_certificate(self, ignore_ssl_certificate=True):
def test_ignore_ssl_certificate(self, ignore_ssl_certificate=True):
from slapos.recipe.gitclone import GIT_CLONE_ERROR_MESSAGE, \
GIT_CLONE_CACHE_ERROR_MESSAGE
import slapos.recipe.gitclone
......@@ -119,7 +119,7 @@ class GitCloneNonInformativeTests(unittest.TestCase):
recipe = slapos.recipe.gitclone.Recipe(bo, 'test', options)
recipe.install()
# Check git clone parameters
if ignore_ssl_certificate:
self.assertTrue("--config" in check_call_paramater_list[0][0])
......@@ -133,7 +133,7 @@ class GitCloneNonInformativeTests(unittest.TestCase):
def test_ignore_ssl_certificate_false(self):
self.test_ignore_ssl_certificate(ignore_ssl_certificate=False)
def test_suite():
suite = unittest.TestSuite((
doctest.DocFileSuite(
......
......@@ -233,4 +233,4 @@ class Recipe(object):
if self.revision:
self.gitReset(self.revision)
else:
self.gitReset('@{upstream}')
\ No newline at end of file
self.gitReset('@{upstream}')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment