Skip to content

Commit

Permalink
check rc in a callback (errback is not called)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpommerening committed Feb 16, 2014
1 parent 4baf41d commit d4b04b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave/buildslave/test/unit/test_commands_fs.py
Expand Up @@ -168,7 +168,7 @@ def test_existing_file(self):

def check(_):
self.assertUpdates([{'rc': 1}], self.builder.show())
d.addErrback(check)
d.addCallback(check)
return d


Expand Down

0 comments on commit d4b04b9

Please sign in to comment.