Skip to content

Commit

Permalink
fix gerritchangesource tests, pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Dec 15, 2010
1 parent 1138e3a commit df6b89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions master/buildbot/status/status_gerrit.py
Expand Up @@ -18,8 +18,6 @@
."""

import os

from buildbot.status.base import StatusReceiverMultiService
from buildbot.status.builder import Results
from twisted.internet import reactor
Expand Down
4 changes: 2 additions & 2 deletions master/buildbot/test/unit/test_changes_gerritchangesource.py
Expand Up @@ -41,10 +41,10 @@ def test_describe(self):

# TODO: test the backoff algorithm

def test_lineReceived_good(self):
def test_lineReceived_patchset_created(self):
s = self.newChangeSource('somehost', 'someuser')
s.lineReceived(json.dumps(dict(
type="change-merged",
type="patchset-created",
change=dict(
branch="br",
project="pr",
Expand Down

0 comments on commit df6b89e

Please sign in to comment.