Commit Graph
58 Commits
Author SHA1 Message Date
Kevin Fronczak 3e23374b32 Modified requests so cameras only talk to sync 2018-09-26 11:09:51 -04:00
Kevin Fronczak 1c6a5eb6c6 Fixed tests. Need to improve mocking in functions test. 2018-09-25 16:02:59 -04:00
Kevin Fronczak 40e9e4bd6c Fixed camera tests 2018-09-25 14:31:23 -04:00
Kevin Fronczak e1ff851068 First cut of refactoring 2018-09-25 14:16:14 -04:00
Kevin Fronczak 672f59ab4e Added image and video caching 2018-09-25 12:03:32 -04:00
Kevin Fronczak 72c36d8381 revert tests 2018-09-24 22:27:42 -04:00
Kevin Fronczak 9ce09b4761 Fix thumbnails grabbing wrong date 2018-09-24 21:24:21 -04:00
Kevin Fronczak 8c94305804 Fix motion detection
- Use an array of recent video clips to determine if motion has been
detected.
- Reset the value every system refresh
2018-09-24 13:17:15 -04:00
Kevin FronczakandGitHub 0e63e97a57 Remove whitespace 2018-08-09 09:27:36 -04:00
Kevin FronczakandGitHub e4a21964d2 Fix useless-import-alias 2018-08-09 09:26:22 -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
Kevin Fronczak 389745533c Add celcius property for cameras 2018-05-21 11:12:32 -04:00
Kevin Fronczak 91a877da79 Fix tests, updated changes in changelog 2018-05-21 10:54:32 -04:00
Kevin Fronczak 623b694c78 Added attributes property to camera object 2018-02-08 16:16:23 -05:00
Kevin Fronczak 7162ea24cc Added authentication to login function and deprecated setup_system 2018-02-08 15:31:26 -05:00
Kevin Fronczak ce6dec50cd Fixed requirement issue causing tox failure
- Updated camera test to check for new status change
- Added updated to CHANGES.rst
2018-02-03 09:50:08 -05:00
B10m 87643ddcab Reflect changes in tests 2018-02-03 01:11:27 +01:00
Kevin Fronczak 63c0e11cc9 Fix linting error 2018-01-20 19:57:06 -05:00
Kevin Fronczak 7347d03f93 Added case-sensitive test, logged all changes 2018-01-20 19:53:27 -05:00
Kevin Fronczak fffb10d7e6 Refactored unit tests for special functions 2018-01-20 19:41:15 -05:00
Kevin Fronczak 91b3de1444 Refactored requests, expanded video retreival
- Removed blinkpy.last_motion()
- blinkpy.get_summary() changed to blinkpy.summary property
2018-01-20 16:53:38 -05: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 261d6293dd Fix lint, upgrade pylint to 1.8.1 2018-01-19 14:38:16 -05:00
Kevin Fronczak ba03894e94 Refactored code in prep for API overhaul 2018-01-19 11:41:26 -05:00
Kevin Fronczak be68c0d714 Added case handling on camera dict 2017-06-18 18:37:19 -04:00
Kevin Fronczak ae209a37f7 Pass lint version bumps 2017-05-13 18:27:01 -04:00
Kevin Fronczak 01babca0f4 Added battery_string property to camera
Ability to detect if battery is "OK" or "Low"
2017-05-12 15:42:18 -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
tySwift93andGitHub abea28ef00 Undo my attempt at fixing code coverage 2017-05-10 19:23:26 -04:00
tySwift93andGitHub 8934645c4d One final attempt to get coverage to work...
I'm just hoping something sticks!
2017-05-10 19:20:26 -04:00
tySwift93andGitHub 68d64665a6 Trying to fix test coverage really quickly... 2017-05-10 19:03:39 -04:00
ttrushin 890b58d0ce Another attempt to fix pylint-related issues 2017-05-09 16:01:31 -04:00
ttrushin b395eba4f3 Fixed misspelling yet again... 2017-05-09 15:28:03 -04:00
ttrushin c13f3d5b77 Fixed tests, fixed misspelling, and fixed a small error in _request method 2017-05-09 15:15:31 -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 326906f073 Getting there... 2017-03-11 23:21:26 -05: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
Kevin Fronczak afa7b2259f Fixed travis to run lint instead of pep8 and moved test reqs to own file 2017-03-10 14:33:51 -05:00
Kevin Fronczak dad1aec874 Initial checkin for test_blink_system.py 2017-03-09 22:50:54 -05:00
Kevin Fronczak 14c7322cde Removed leftover merge junk 2017-03-08 23:19:06 -05:00
Kevin Fronczak 7b07146afa Constants and better style testing 2017-03-08 23:11:56 -05:00
Kevin Fronczak 3653e9d63d Merge branch 'master' of github.com:fronzbot/blinkpy into patch
Conflicts:
	blinkpy.py
	tests/test_const.py
2017-03-08 21:00:21 -05:00
Kevin Fronczak 11b683a156 Fixed issue with host name in header, added test to catch this 2017-03-08 20:57:38 -05:00
Kevin Fronczak 0023be40c1 Updated test_const with realistic response and fixed key error in blinkpy 2017-03-08 20:57:38 -05:00