Skip to content

Commit

Permalink
Must not mock an already mocked object.
Browse files Browse the repository at this point in the history
Ref: python/cpython#87644
Signed-off-by: farirat <fourat@gmail.com>
  • Loading branch information
farirat committed Dec 9, 2022
1 parent df76702 commit 1b76ce1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/routing/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,10 +1522,6 @@ def test_unrated_route(self):
yield self.connect('127.0.0.1', self.pbPort)
yield self.prepareRoutingsAndStartConnector()

# Mock callback
self.pbRoot_f.bill_request_submit_sm_resp_callback = Mock(
self.pbRoot_f.bill_request_submit_sm_resp_callback)

self.params['content'] = composeMessage({'_'}, 200)
baseurl = 'http://127.0.0.1:1401/send'

Expand Down

0 comments on commit 1b76ce1

Please sign in to comment.