Commit 63d278fd authored by rajesh's avatar rajesh

fix pep8 issue

parent 2a755697
Pipeline #1485 passed with stages
in 33 seconds
......@@ -40,7 +40,8 @@ class TestClitoo(object):
def test_context_invalid_double_dash_argument_factory(self):
"""Test aggument and keyword argument for factory."""
argvlist = ['-a', '--b', '--', '--something=to see', 'how', 'it=parses']
argvlist = ['-a', '--b', '--', '--something=to see', 'how',
'it=parses']
with pytest.raises(OSError):
print(clitoo.Context.factory(argvlist))
......@@ -75,7 +76,7 @@ class TestClitoo(object):
assert cb.cb == apply
def test_factory_fail(self):
"""Test fail for not avaliable callback and nested attribute for factory."""
"""Test fail for not avaliable callback and nested attribute."""
cb = clitoo.Callback.factory('clitoo.git.reset')
assert cb.cb is None
......@@ -92,10 +93,10 @@ class TestClitoo(object):
def test_class_properties(self):
"""
Check class didnt change from a defined snapshot. Class changes or new.
Check class didnt change from a defined snapshot.
references makes this test fail to warn the dev, who will decide if the.
change must be accounted.
Class changes or new references makes this test fail to warn the dev,
who will decide if the change must be accounted.
"""
def _check_class_properties(model_class, properties_list_snapshot):
"""Test properties of the class."""
......@@ -125,7 +126,10 @@ class TestClitoo(object):
assert len(cb.filename) != 0
def test_no_filedoc(self):
"""Return default doc string.If doc string is not avaliable for followling(clone,push,)."""
"""Return default doc string.
If doc string is not avaliable for followling(clone,push).
"""
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
file_path = base_dir + '/clitoo/clitoo/git.py'
doc_text = clitoo.filedoc(file_path)
......
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