diff --git a/CHANGES.rst b/CHANGES.rst index 42dedd7..49bc640 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,7 @@ A list of changes between each release - Moved some request calls out of @property methods (enables future CLI support) - Renamed get_summary() method to summary and changed to @property - Added ability to download most recent video clip +- Improved camera arm/disarm handling (`@b10m `_) 0.6.0 (2017-05-12) ^^^^^^^^^^^^^^^^^^ diff --git a/requirements.txt b/requirements.txt index ac3953b..3b266c6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,2 @@ -pytest>=2.9.2 -pytest-cov>=2.3.1 -pytest-timeout>=1.0.0 requests>=2.12.4 -testtools \ No newline at end of file +testtools diff --git a/requirements_test.txt b/requirements_test.txt index f0e1caf..d2b6197 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,9 +2,9 @@ flake8==3.3 flake8-docstrings==1.1.0 pylint==1.8.1 pydocstyle==2.0.0 -pytest>=2.9.2 +pytest==3.3.1 pytest-cov>=2.3.1 -pytest-sugar>=0.8.0 +pytest-sugar>=0.9.0 pytest-timeout>=1.0.0 restructuredtext-lint>=1.0.1 pygments>=2.2.0 diff --git a/tests/test_blink_cameras.py b/tests/test_blink_cameras.py index 0632ee8..475509c 100644 --- a/tests/test_blink_cameras.py +++ b/tests/test_blink_cameras.py @@ -73,7 +73,7 @@ class TestBlinkCameraSetup(unittest.TestCase): self.assertEqual(camera.notifications, 2) self.assertEqual(camera.region_id, 'test') camera_config = self.camera_config - camera_config['armed'] = True + camera_config['active'] = 'armed' camera_config['thumbnail'] = '/test2/image' camera_config['video'] = '/test2/clip.mp4' camera_config['temp'] = 60