This commit is contained in:
parent
973988c91e
commit
e90a60e882
2 changed files with 3 additions and 6 deletions
|
|
@ -23,6 +23,7 @@ def test_root_view_invalid_urls_404(client):
|
|||
def test_owner_can_access_dashboard(client, org_owner, organization):
|
||||
client.force_login(org_owner)
|
||||
response = client.get(organization.urls.base)
|
||||
assert organization.namespace == f"org-{organization.pk}"
|
||||
assert response.status_code == 200
|
||||
assert organization.name in response.content.decode()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue