Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Apr 17, 2024
1 parent c898c8e commit d947216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion camilladsp/camilladsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
Reading the main volume is then done by calling `my_client.volume.main()`.
"""


import json
import math
from typing import Dict, Tuple, List, Optional, Union, TypedDict
Expand Down
12 changes: 6 additions & 6 deletions tests/test_camillaws.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ def test_stop_reason(camilla_mockws):
assert camilla_mockws.general.stop_reason() == StopReason.DONE
assert camilla_mockws.general.stop_reason().data == None
print(camilla_mockws.dummyws.responses)
camilla_mockws.dummyws.responses[
'"GetStopReason"'
] = camilla_mockws.dummyws.responses['"GetStopReason2"']
camilla_mockws.dummyws.responses['"GetStopReason"'] = (
camilla_mockws.dummyws.responses['"GetStopReason2"']
)
assert camilla_mockws.general.stop_reason() == StopReason.CAPTUREFORMATCHANGE
assert camilla_mockws.general.stop_reason().data == 44098
camilla_mockws.dummyws.responses[
'"GetStopReason"'
] = camilla_mockws.dummyws.responses['"GetStopReason3"']
camilla_mockws.dummyws.responses['"GetStopReason"'] = (
camilla_mockws.dummyws.responses['"GetStopReason3"']
)
assert camilla_mockws.general.stop_reason() == StopReason.CAPTUREERROR
assert camilla_mockws.general.stop_reason().data == "error error"

Expand Down

0 comments on commit d947216

Please sign in to comment.