mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Split models to prevent circular imports
This commit is the first step to disentangling the models from the API clients. With the models in the same folder as the API clients it makes it hard to import the API clients within the model without getting a circular import. After this commit the user API clients still has this problem, but at least the service API client doesn’t.
This commit is contained in:
@@ -6,7 +6,7 @@ from bs4 import BeautifulSoup
|
||||
from flask import session, url_for
|
||||
from flask_login import current_user
|
||||
|
||||
from app.notify_client.models import InvitedUser
|
||||
from app.models.user import InvitedUser
|
||||
|
||||
|
||||
def test_render_register_returns_template_with_form(client):
|
||||
|
||||
Reference in New Issue
Block a user