Private
Public Access
1
0

mock Session not working without net

This commit is contained in:
Sander Roosendaal
2018-12-17 20:42:29 +01:00
parent 4bfc3c0dfa
commit ee76ce0093

View File

@@ -432,7 +432,7 @@ class C2Objects(DjangoTestCase):
@patch('rowers.c2stuff.requests.Session', side_effect=mocked_requests)
def test_c2_callback(self, mock_post):
def test_c2_callback(self, mock_Session):
response = self.c.get('/call_back?code=dsdoij232s',follow=True)