<s> """<STR_LIT>""" <EOL> from factory import SubFactory , Sequence <EOL> from tests . factories import ModularOdmFactory , UserFactory , ProjectFactory , ExternalAccountFactory <EOL> from website . addons . dropbox . model import ( <EOL> DropboxUserSettings , DropboxNodeSettings <EOL> ) <EOL> class DropboxUserSettingsFactory ( ModularOdmFactory ) : <EOL> class Meta : <EOL> model = DropboxUserSettings <EOL> owner = SubFactory ( UserFactory ) <EOL> access_token = Sequence ( lambda n : '<STR_LIT>' . format ( n ) ) <EOL> class DropboxNodeSettingsFactory ( ModularOdmFactory ) : <EOL> class Meta : <EOL> model = DropboxNodeSettings <EOL> owner = SubFactory ( ProjectFactory ) <EOL> user_settings = SubFactory ( DropboxUserSettingsFactory ) <EOL> folder = '<STR_LIT>' <EOL> class DropboxAccountFactory ( ExternalAccountFactory ) : <EOL> provider = '<STR_LIT>' <EOL> provider_id = Sequence ( lambda n : '<STR_LIT>' . format ( n ) ) <EOL> oauth_key = Sequence ( lambda n : '<STR_LIT>' . format ( n ) ) </s>
