Пример #1
0
 def test_get_stores_response_in_context(self):
     _invoker.send_get(self.context)
     assert_that(self.context.response).is_same_as(self.response)
Пример #2
0
 def test_get_request_includes_params(self):
     _invoker.send_get(self.context)
     assert_that(self.session.request_params).is_same_as(self.context.request_params)
Пример #3
0
 def test_invokes_get_on_session(self):
     _invoker.send_get(self.context)
     assert_that(self.session.get_invoked).is_true()
     assert_that(self.session.request_url).is_equal_to(self.context.request_url)