def test_user_provides_no_config_uses_default(self): # If the user does not provide any config overrides, # we should just use the default values defined in # the module. config = transferconfig.RuntimeConfig() runtime_config = config.build_config() self.assertEqual(runtime_config, transferconfig.DEFAULTS)
def build_config_with(self, **config_from_user): return transferconfig.RuntimeConfig().build_config(**config_from_user)