@@ -39,7 +39,7 @@ def setUp(self):
39
39
'name' : 'foobar' ,
40
40
'armed' : False ,
41
41
'active' : 'disarmed' ,
42
- 'thumbnail' : '/test/clip/clip.jpg ' ,
42
+ 'thumbnail' : '/test/image ' ,
43
43
'video' : '/test/clip/clip.mp4' ,
44
44
'temp' : 70 ,
45
45
'battery' : 3 ,
@@ -76,7 +76,7 @@ def test_camera_properties(self, mock_get, mock_post, mock_cfg):
76
76
self .assertEqual (camera .armed , False )
77
77
self .assertEqual (
78
78
camera .thumbnail ,
79
- "https://rest.test.{}/test/clip/clip .jpg" .format (BLINK_URL )
79
+ "https://rest.test.{}/test/image .jpg" .format (BLINK_URL )
80
80
)
81
81
self .assertEqual (
82
82
camera .clip ,
@@ -93,7 +93,7 @@ def test_camera_properties(self, mock_get, mock_post, mock_cfg):
93
93
94
94
camera_config = self .camera_config
95
95
camera_config ['active' ] = 'armed'
96
- camera_config ['thumbnail' ] = '/test2/clip.jpg '
96
+ camera_config ['thumbnail' ] = '/test2/image '
97
97
camera_config ['video' ] = '/test2/clip.mp4'
98
98
camera_config ['temp' ] = 60
99
99
camera_config ['battery' ] = 0
@@ -104,7 +104,7 @@ def test_camera_properties(self, mock_get, mock_post, mock_cfg):
104
104
self .assertEqual (camera .armed , True )
105
105
self .assertEqual (
106
106
camera .thumbnail ,
107
- "https://rest.test.{}/test2/clip .jpg" .format (BLINK_URL )
107
+ "https://rest.test.{}/test2/image .jpg" .format (BLINK_URL )
108
108
)
109
109
self .assertEqual (
110
110
camera .clip ,
@@ -143,7 +143,7 @@ def test_camera_attributes(self, mock_cfg):
143
143
self .assertEqual (camera_attr ['armed' ], False )
144
144
self .assertEqual (
145
145
camera_attr ['thumbnail' ],
146
- "https://rest.test.{}/test/clip/clip .jpg" .format (BLINK_URL )
146
+ "https://rest.test.{}/test/image .jpg" .format (BLINK_URL )
147
147
)
148
148
self .assertEqual (
149
149
camera_attr ['video' ],
0 commit comments