def create_external_account(host='foo.bar.baz', token='doremi-abc-123'):
 return ExternalAccountFactory(provider='dataverse', provider_name='Dataverse', display_name=host, oauth_key=host, oauth_secret=token)

def create_external_account ( host = 'foo.bar.baz' , token = 'doremi-abc-123' ) : return ExternalAccountFactory ( provider = 'dataverse' , provider_name = 'Dataverse' , display_name = host , oauth_key = host , oauth_secret = token )
creates external account for dataverse with fields populated the same way as dataverse_add_user_account .