Private
Public Access
1
0

fixing tests

This commit is contained in:
2024-05-26 14:51:21 +02:00
parent 09ee59a58e
commit ad372d8f92
8 changed files with 23 additions and 11 deletions

View File

@@ -41,7 +41,9 @@ class OtherUnitTests(TestCase):
# Test get_dates_timeperiod
def test_get_dates_timeperiod(self):
rq = RequestFactory().get('/rowers/plannedsessions/')
middleware = SessionMiddleware()
get_response = MagicMock()
middleware = SessionMiddleware(get_response)
middleware.process_request(rq)
# blanco should just run