mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 01:38:55 +00:00
test introducerless config
refs ticket:68
This commit is contained in:
parent
3b24e7e35e
commit
d802135db1
@ -116,5 +116,11 @@ class NoDefault(unittest.TestCase):
|
||||
tahoe_cfg_furl = myclient.introducer_furls[0]
|
||||
self.assertEquals(tahoe_cfg_furl, 'furl1')
|
||||
|
||||
def test_introducerless(self):
|
||||
connections = {'introducers': {} }
|
||||
self.yaml_path.setContent(yamlutil.safe_dump(connections))
|
||||
myclient = Client(self.basedir)
|
||||
self.assertEquals(len(myclient.introducer_furls), 0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user