Skip to content

Commit

Permalink
test_pbManager: use a less common use port number
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
  • Loading branch information
Pierre Tardy committed Nov 26, 2012
1 parent a276b26 commit 27a2234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions master/buildbot/test/unit/test_pbmanager.py
Expand Up @@ -39,10 +39,10 @@ def perspectiveFactory(self, mind, username):
return defer.succeed(persp)

def test_repr(self):
reg = self.pbm.register('tcp:9989', "x", "y", self.perspectiveFactory)
self.assertEqual(`self.pbm.dispatchers['tcp:9989']`,
'<pbmanager.Dispatcher for x on tcp:9989>')
self.assertEqual(`reg`, '<pbmanager.Registration for x on tcp:9989>')
reg = self.pbm.register('tcp:99891', "x", "y", self.perspectiveFactory)
self.assertEqual(`self.pbm.dispatchers['tcp:99891']`,
'<pbmanager.Dispatcher for x on tcp:99891>')
self.assertEqual(`reg`, '<pbmanager.Registration for x on tcp:99891>')

def test_register_unregister(self):
portstr = "tcp:0:interface=127.0.0.1"
Expand Down

0 comments on commit 27a2234

Please sign in to comment.