Kevin Fronczak
1a12eb367f
Added additional re-auth attempt in try/except
2018-10-18 12:49:18 -04:00
Kevin Fronczak
f61f68a5c2
Fix reauthorization bug
2018-10-18 12:23:23 -04:00
Kevin Fronczak
3af105edf5
Check for 'None' clip before saving to cache
2018-10-16 15:26:15 -04:00
Kevin Fronczak
5057592b0d
Fix blink_functions test
2018-10-16 13:52:09 -04:00
Kevin Fronczak
13bb819e07
Added network checking
2018-10-16 13:28:44 -04:00
Kevin Fronczak
eefa9252e5
[WIP] Adding in network checking
2018-10-16 12:27:57 -04:00
Kevin Fronczak
1b9bba7c3d
Modified tests, added homescreen thumbnail backup Fixes #93
2018-10-15 20:52:05 -04:00
Kevin Fronczak
f7a5b5cc03
Tests now working
...
- Simplified tests a bit
2018-10-14 00:12:44 -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
1b1235210e
Split up tests, added cache test
2018-09-27 11:07:31 -04:00
Kevin Fronczak
a570413e66
Fixed broken tests...probably should re-write them
2018-09-26 12:11:41 -04:00
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 Fronczak and GitHub
0e63e97a57
Remove whitespace
2018-08-09 09:27:36 -04:00
Kevin Fronczak and GitHub
e4a21964d2
Fix useless-import-alias
2018-08-09 09:26:22 -04:00
Kevin Fronczak and GitHub
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
tySwift93 and GitHub
abea28ef00
Undo my attempt at fixing code coverage
2017-05-10 19:23:26 -04:00
tySwift93 and GitHub
8934645c4d
One final attempt to get coverage to work...
...
I'm just hoping something sticks!
2017-05-10 19:20:26 -04:00
tySwift93 and GitHub
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