diff options
author | Antoine Musso <hashar@free.fr> | 2014-11-16 20:51:04 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-11-16 20:51:21 +0100 |
commit | be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 (patch) | |
tree | 7d0124054760421d95a6f675d8e843e42a72ad82 /git/test/test_remote.py | |
parent | f5d11b750ecc982541d1f936488248f0b42d75d3 (diff) | |
download | gitpython-be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6.tar.gz |
pep8 linting (blank lines expectations)
E301 expected 1 blank line, found 0
E302 expected 2 blank lines, found 1
E303 too many blank lines (n)
Diffstat (limited to 'git/test/test_remote.py')
-rw-r--r-- | git/test/test_remote.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git/test/test_remote.py b/git/test/test_remote.py index 0b7ab574..19d029e5 100644 --- a/git/test/test_remote.py +++ b/git/test/test_remote.py @@ -15,8 +15,10 @@ import random # assure we have repeatable results random.seed(0) + class TestRemoteProgress(RemoteProgress): __slots__ = ( "_seen_lines", "_stages_per_op", '_num_progress_messages' ) + def __init__(self): super(TestRemoteProgress, self).__init__() self._seen_lines = list() @@ -51,7 +53,6 @@ class TestRemoteProgress(RemoteProgress): self._num_progress_messages += 1 - def make_assertion(self): # we don't always receive messages if not self._seen_lines: @@ -76,7 +77,6 @@ class TestRemote(TestBase): fp = open(os.path.join(repo.git_dir, "FETCH_HEAD")) fp.close() - def _do_test_fetch_result(self, results, remote): # self._print_fetchhead(remote.repo) assert len(results) > 0 and isinstance(results[0], FetchInfo) @@ -116,7 +116,6 @@ class TestRemote(TestBase): # END error checking # END for each info - def _do_test_fetch_info(self, repo): self.failUnlessRaises(ValueError, FetchInfo._from_line, repo, "nonsense", '') self.failUnlessRaises(ValueError, FetchInfo._from_line, repo, "? [up to date] 0.1.7RC -> origin/0.1.7RC", '') |