mock_server

ajaxMock(url, settings)

transform an ajax call into the equivalent recorded API call fixture from assembl.tests.base.api_call_to_fname()

Arguments:
  • url (string) – The url
  • settings (object) – The settings