mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
add test infrastructure, use 'make test' to run it, please run before pushing
This commit is contained in:
parent
cc814ade3f
commit
efeea5e5e7
@ -36,3 +36,4 @@
|
||||
|
||||
^client-basedir($|/)
|
||||
^queen-basedir($|/)
|
||||
^_trial_temp($|/)
|
||||
|
@ -35,7 +35,8 @@ class Client(service.MultiService):
|
||||
log.msg("no queen_pburl, cannot connect")
|
||||
|
||||
def stopService(self):
|
||||
self.connector.stopConnecting()
|
||||
if self.queen_pburl:
|
||||
self.connector.stopConnecting()
|
||||
|
||||
def _got_queen(self, queen):
|
||||
log.msg("connected to queen")
|
||||
|
@ -22,8 +22,9 @@ class Queen(service.MultiService):
|
||||
self.urls = {}
|
||||
r = Roster()
|
||||
r.setServiceParent(self)
|
||||
self.urls["roster"] = self.tub.registerReference(r, "roster")
|
||||
#self.urls["roster"] = self.tub.registerReference(r, "roster")
|
||||
|
||||
def startService(self):
|
||||
service.MultiService.startService(self)
|
||||
log.msg("queen running, roster is at %s" % self.urls["roster"])
|
||||
log.msg("queen running")
|
||||
#log.msg(" roster is at %s" % self.urls["roster"])
|
||||
|
Loading…
Reference in New Issue
Block a user