Speed up tests
Performance refactor:
- tests requiring logged user should create workers on demand - creation is expesive
- gitlab jobs don't require makemigrations && migrate - test database is create separately and all migrations are applied anyway
- when creating user with
create_user
method the password needs to be hashed which takes time, therefore using precomputed hash value withcreate()
method speeds up the test creation
Edited by Piotr Gawron