Private
Public Access
1
0

getting there

This commit is contained in:
2024-05-26 13:32:17 +02:00
parent 873ba6ab3b
commit 5f63b84d00
9 changed files with 27 additions and 29 deletions

View File

@@ -62,7 +62,7 @@ from rowers.utils import NoTokenError
from rowers.plannedsessions import get_dates_timeperiod
from shutil import copyfile, copy
from nose.tools import assert_true
from mock import Mock, patch
from mock import Mock, patch, MagicMock
#from minimocktest import MockTestCase
import pandas as pd
import polars as pl

View File

@@ -1103,7 +1103,8 @@ class WorkoutStatsTestNew(TestCase):
}
request.COOKIES = SimpleCookie({'name': 'bla'})
# adding session
middleware = SessionMiddleware()
get_response = MagicMock()
middleware = SessionMiddleware(get_response)
middleware.process_request(request)

Binary file not shown.