add some tests and views

This commit is contained in:
Ross
2024-01-29 10:52:02 +00:00
parent 04dcb74e67
commit cfb90be686
11 changed files with 142 additions and 6 deletions
+4 -3
View File
@@ -1,7 +1,5 @@
import json
import pytest
# from django.contrib.auth.models import User
from django.urls import reverse
from rich.pretty import pprint
@@ -361,4 +359,7 @@ def test_cookies(db, client):
# Check our 2 cookies are displayed (we would have to add them for this to work)
#assert "csrftoken" in [i.text for i in soup.find_all("th")]
#assert "sessionid" in [i.text for i in soup.find_all("th")]
#assert "sessionid" in [i.text for i in soup.find_all("th")]