}
)
- cfg = thandler.generate_config('foo')
- assert cfg
+ thandler._sync_clusters(['foo'])
def test_generate_config_ad(thandler):
}
)
- cfg = thandler.generate_config('foo')
+ thandler._sync_clusters(['foo'])
+ cfg = thandler.public_store['foo', 'config.smb'].get()
assert cfg
assert cfg['globals']['foo']['options']['realm'] == 'dom1.example.com'
}
)
- cfg = thandler.generate_config('foo')
+ thandler._sync_clusters(['foo'])
+ cfg = thandler.public_store['foo', 'config.smb'].get()
assert cfg
assert cfg['shares']['Ess One']['options']
shopts = cfg['shares']['Ess One']['options']
}
)
- cfg = thandler.generate_config('foo')
+ thandler._sync_clusters(['foo'])
+ cfg = thandler.public_store['foo', 'config.smb'].get()
assert cfg
assert cfg['shares']['Ess One']['options']
shopts = cfg['shares']['Ess One']['options']