Commit Graph
23 Commits
Author SHA1 Message Date
Kevin Fronczak 9e124ce5cc Only refresh token on unauthorized response from request 2020-05-27 23:05:51 +00:00
Kevin Fronczak 61e18ee0a8 Simplify mock_responses file 2020-05-25 04:39:27 +00:00
Kevin Fronczak f80a93f8e1 Refactor login logic in preperation for 2FA 2020-05-05 12:46:48 -04:00
Kevin Fronczak e1bbbb5c7e Add black formatting style 2020-05-04 14:23:02 -04:00
Kevin Fronczak 2ca6b9edda -_- 2019-03-01 14:25:46 -05:00
Kevin Fronczak 5057592b0d Fix blink_functions test 2018-10-16 13:52:09 -04:00
Kevin Fronczak a1082812bb Modified tests to pass with session
- Added session mock
- Removed post and get mocks
- Modified the throttling for events and summary
    - Now they're throttled, but it's overridden during a system refresh
- Store the login url in a protected variable
2018-09-27 15:10:48 -04:00
Kevin Fronczak e1ff851068 First cut of refactoring 2018-09-25 14:16:14 -04:00
Kevin FronczakandGitHub 0e63e97a57 Remove whitespace 2018-08-09 09:27:36 -04:00
Kevin FronczakandGitHub 39ad37f23b Fix pylint errors
- change if comparison to fix (consider-using-in)
- Disabled no else-if-return check
2018-08-09 09:25:42 -04:00
B10m 87643ddcab Reflect changes in tests 2018-02-03 01:11:27 +01:00
Kevin Fronczak 8340f2f78a WIP Simplified unit tests 2018-01-20 15:38:37 -05:00
Kevin Fronczak e65840d269 Fix lint 2018-01-20 11:43:46 -05:00
Kevin Fronczak 71ebc3dc8a Updated links to retrieve images 2018-01-20 10:42:14 -05:00
Kevin Fronczak ba03894e94 Refactored code in prep for API overhaul 2018-01-19 11:41:26 -05:00
Kevin Fronczak ae209a37f7 Pass lint version bumps 2017-05-13 18:27:01 -04:00
Kevin Fronczak aeeb894ad9 Added reauth test 2017-05-12 14:46:13 -04:00
Kevin Fronczak d290fe4096 Added test for reauth
Test to check that we throw an exception if we cannot reauth (to ensure we don't get stuck in a loop)
2017-05-12 14:03:35 -04:00
Kevin Fronczak 9fa2e967dc Removed redundant functions, increased test coverage 2017-03-20 15:53:53 -04:00
Kevin Fronczak c529f474fe Added support for rest.piri subdomain 2017-03-12 19:45:33 -04:00
Kevin Fronczak af0cdb006a Completed test suite. Fixed some minor issues with file writing and regions 2017-03-12 18:21:28 -04:00
Kevin Fronczak d54a6cbb71 Started adding more camera tests, reorganized package 2017-03-11 21:53:58 -05:00
Kevin Fronczak 94dab01e6b Blink tests complete, camera module next 2017-03-11 12:33:11 -05:00