File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ def list_files(path='/'):
127127 # get single config
128128 widget = self .camera .get_single_config ('thumbsize' )
129129 self .assertIsInstance (widget , gp .CameraWidget )
130- self .camera .set_single_config ('thumbsize' , widget )
131130 # list config
132131 config_list = self .camera .list_config ()
133132 self .assertEqual (len (config_list ), 68 )
@@ -265,8 +264,6 @@ def list_files(path='/'):
265264 OK , widget = gp .gp_camera_get_single_config (self .camera , 'thumbsize' )
266265 self .assertEqual (OK , gp .GP_OK )
267266 self .assertIsInstance (widget , gp .CameraWidget )
268- self .assertEqual (gp .gp_camera_set_single_config (
269- self .camera , 'thumbsize' , widget ), gp .GP_OK )
270267 # list config
271268 OK , config_list = gp .gp_camera_list_config (self .camera )
272269 self .assertEqual (OK , gp .GP_OK )
You can’t perform that action at this time.
0 commit comments