Skip to content

Commit

Permalink
Fix pep8 whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Grubb committed May 10, 2015
1 parent bfc17a2 commit d3aa0bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion master/buildbot/test/unit/test_steps_transfer.py
Expand Up @@ -65,6 +65,7 @@ def behavior(command):
return read
return behavior


def uploadTarFile(filename, **members):
def behavior(command):
f = StringIO()
Expand Down Expand Up @@ -589,6 +590,7 @@ def testBasic(self):

self.expectOutcome(result=SUCCESS, status_text=["downloading", "to", "hello.txt"])
d = self.runStep()

@d.addCallback
def checkCalls(res):
self.assertEquals(''.join(read), "Hello World")
Expand All @@ -608,7 +610,6 @@ def testFailure(self):
return self.runStep()



class TestJSONStringDownload(steps.BuildStepMixin, unittest.TestCase):
def setUp(self):
return self.setUpBuildStep()
Expand All @@ -633,6 +634,7 @@ def testBasic(self):

self.expectOutcome(result=SUCCESS, status_text=["downloading", "to", "hello.json"])
d = self.runStep()

@d.addCallback
def checkCalls(res):
self.assertEquals(''.join(read), '{"message": "Hello World"}')
Expand Down

0 comments on commit d3aa0bc

Please sign in to comment.