tests status class view

This commit is contained in:
Mouse Reeve
2021-01-12 14:43:59 -08:00
parent 6c80b128a4
commit 5596277d29
5 changed files with 43 additions and 24 deletions

View File

@ -1,6 +1,12 @@
''' helper functions used in various views '''
import re
from requests import HTTPError
from django.db.models import Q
from bookwyrm import models
from bookwyrm import activitypub, models
from bookwyrm.connectors import ConnectorException, get_data
from bookwyrm.utils import regex
def get_user_from_username(username):
''' helper function to resolve a localname or a username to a user '''