__init__.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  2. # not use this file except in compliance with the License. You may obtain
  3. # a copy of the License at
  4. #
  5. # https://www.apache.org/licenses/LICENSE-2.0
  6. #
  7. # Unless required by applicable law or agreed to in writing, software
  8. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  9. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  10. # License for the specific language governing permissions and limitations
  11. # under the License.
  12. from requests_mock.adapter import Adapter, ANY
  13. from requests_mock.exceptions import MockException, NoMockAddress
  14. from requests_mock.mocker import mock, Mocker, MockerCore
  15. from requests_mock.mocker import DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
  16. from requests_mock.response import create_response, CookieJar
  17. __all__ = ['Adapter',
  18. 'ANY',
  19. 'create_response',
  20. 'CookieJar',
  21. 'mock',
  22. 'Mocker',
  23. 'MockerCore',
  24. 'MockException',
  25. 'NoMockAddress',
  26. 'DELETE',
  27. 'GET',
  28. 'HEAD',
  29. 'OPTIONS',
  30. 'PATCH',
  31. 'POST',
  32. 'PUT',
  33. ]