Remove unnecessary user create action
This commit is contained in:
@ -2,14 +2,11 @@ import json
|
|||||||
import pathlib
|
import pathlib
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
||||||
from bookwyrm import activitypub, models
|
from bookwyrm import activitypub
|
||||||
|
|
||||||
|
|
||||||
class Person(TestCase):
|
class Person(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.user = models.User.objects.create_user(
|
|
||||||
'rat', 'rat@rat.com', 'ratword',
|
|
||||||
)
|
|
||||||
datafile = pathlib.Path(__file__).parent.joinpath(
|
datafile = pathlib.Path(__file__).parent.joinpath(
|
||||||
'../data/ap_user.json'
|
'../data/ap_user.json'
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user