Fix unit tests after adding extra argument on put_json

This commit is contained in:
Erik Johnston 2014-09-15 15:05:12 +01:00
parent 6ac0b4ade8
commit 0897a09f49
3 changed files with 28 additions and 10 deletions

View file

@ -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):