validate_config: improve tests

closes ticket:2809
This commit is contained in:
Brian Warner
2016-09-06 19:23:51 -07:00
parent 2732c37941
commit 74dc7194b6
3 changed files with 48 additions and 24 deletions

View File

@ -179,7 +179,8 @@ class Client(node.Node, pollmixin.PollMixin):
node.Node.__init__(self, basedir)
# All tub.registerReference must happen *after* we upcall, since
# that's what does tub.setLocation()
configutil.validate_config(self.config_fname, self.config, _valid_config_sections())
configutil.validate_config(self.config_fname, self.config,
_valid_config_sections())
self._magic_folder = None
self.started_timestamp = time.time()
self.logSource="Client"