Skip to content

Using Weblate container for API tests #10980

Answered by nijel
gilfthde asked this question in Q&A
Discussion options

You must be logged in to vote

Not really elegant, but we use following in some automations:

weblate shell -c 'from weblate.auth.models import User; user = User.objects.create(username="monitor"); print(user.auth_token.key)'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gilfthde
Comment options

Answer selected by gilfthde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants