@@ -266,14 +266,14 @@ class TestActiveFlag:
266266 def test_active_flag (
267267 self ,
268268 vuforia_database_keys : VuforiaDatabaseKeys ,
269- png_rgb_success : io .BytesIO ,
269+ image_file_success_state_low_rating : io .BytesIO ,
270270 initial_active_flag : bool ,
271271 desired_active_flag : bool ,
272272 ) -> None :
273273 """
274274 Setting the active flag to a Boolean value changes it.
275275 """
276- image_data = png_rgb_success .read ()
276+ image_data = image_file_success_state_low_rating .read ()
277277 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
278278
279279 data = {
@@ -582,13 +582,13 @@ def test_name_invalid(
582582
583583 def test_existing_target_name (
584584 self ,
585- png_rgb_success : io .BytesIO ,
585+ image_file_success_state_low_rating : io .BytesIO ,
586586 vuforia_database_keys : VuforiaDatabaseKeys ,
587587 ) -> None :
588588 """
589589 Only one target can have a given name.
590590 """
591- image_data = png_rgb_success .read ()
591+ image_data = image_file_success_state_low_rating .read ()
592592 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
593593
594594 first_target_name = 'example_name'
@@ -644,13 +644,13 @@ def test_existing_target_name(
644644
645645 def test_same_name_given (
646646 self ,
647- png_rgb_success : io .BytesIO ,
647+ image_file_success_state_low_rating : io .BytesIO ,
648648 vuforia_database_keys : VuforiaDatabaseKeys ,
649649 ) -> None :
650650 """
651651 Updating a target with its own name does not give an error.
652652 """
653- image_data = png_rgb_success .read ()
653+ image_data = image_file_success_state_low_rating .read ()
654654 image_data_encoded = base64 .b64encode (image_data ).decode ('ascii' )
655655
656656 name = 'example'
@@ -964,7 +964,7 @@ def test_invalid_type(
964964
965965 def test_rating_can_change (
966966 self ,
967- png_rgb_success : io .BytesIO ,
967+ image_file_success_state_low_rating : io .BytesIO ,
968968 high_quality_image : io .BytesIO ,
969969 vuforia_database_keys : VuforiaDatabaseKeys ,
970970 ) -> None :
@@ -976,7 +976,7 @@ def test_rating_can_change(
976976 The mock randomly assigns a quality and makes sure that the new quality
977977 is different to the old quality.
978978 """
979- poor_image = png_rgb_success .read ()
979+ poor_image = image_file_success_state_low_rating .read ()
980980 poor_image_data_encoded = base64 .b64encode (poor_image ).decode ('ascii' )
981981
982982 good_image = high_quality_image .read ()
0 commit comments