mock Session not working without net
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user