Create an actual user, add missing file

Also allow `./bw-dev up -d`

I'm not sure why this was necessary, but it makes enough sense
This commit is contained in:
Joel Bradshaw
2021-01-13 23:02:56 -08:00
parent 48147883ce
commit 1e13997c5d
3 changed files with 18 additions and 2 deletions

View File

@ -19,7 +19,9 @@ class ReadThrough(TestCase):
self.work.default_edition = self.edition
self.work.save()
self.user = models.User.objects.create()
self.user = models.User.objects.create_user(
'cinco', 'cinco@example.com', 'seissiete',
local=True, localname='cinco')
self.client.force_login(self.user)