mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 02:59:18 -04:00
Fix unit tests after adding extra argument on put_json
This commit is contained in:
parent
6ac0b4ade8
commit
0897a09f49
3 changed files with 28 additions and 10 deletions
|
@ -17,7 +17,7 @@ from twisted.internet import defer
|
|||
from tests import unittest
|
||||
|
||||
# python imports
|
||||
from mock import Mock
|
||||
from mock import Mock, ANY
|
||||
|
||||
from ..utils import MockHttpResource, MockClock
|
||||
|
||||
|
@ -181,7 +181,8 @@ class FederationTestCase(unittest.TestCase):
|
|||
"depth": 1,
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
on_send_callback=ANY,
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
@ -212,7 +213,9 @@ class FederationTestCase(unittest.TestCase):
|
|||
"content": {"testing": "content here"},
|
||||
}
|
||||
],
|
||||
})
|
||||
},
|
||||
on_send_callback=ANY,
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def test_recv_edu(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue