__init__.py 627 B

12345678910111213141516171819
  1. # __init__.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
  2. # This copyright was auto-generated on Wed, Sep 1, 2021 5:05:55 PM
  3. # Open GoPro API Versions to test
  4. versions = ["2.0"]
  5. from open_gopro import GoProResp
  6. from open_gopro.api import WirelessApi
  7. from open_gopro.models.constants import constants
  8. # The global parser map only gets set when API is instantiated. So ensure this is done.
  9. WirelessApi(None) # type: ignore
  10. mock_good_response = GoProResp(
  11. protocol=GoProResp.Protocol.BLE,
  12. status=constants.ErrorCode.SUCCESS,
  13. identifier="test response",
  14. data=True,
  15. )