See #75: dedicated token for subsonic API access
This commit is contained in:
parent
99c02b4f7e
commit
9682299480
4 changed files with 47 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ class UserFactory(factory.django.DjangoModelFactory):
|
|||
username = factory.Sequence(lambda n: 'user-{0}'.format(n))
|
||||
email = factory.Sequence(lambda n: 'user-{0}@example.com'.format(n))
|
||||
password = factory.PostGenerationMethodCall('set_password', 'test')
|
||||
subsonic_api_token = None
|
||||
|
||||
class Meta:
|
||||
model = 'users.User'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue