def test_SetEnableVideoGPUAcceleration_none_input_check_fails(self):
        """Test when the env variable is None(not set by the users) and the check fails, the env var is set to 'FALSE'."""
        with mock.patch.dict('marqo.inference.native_inference.remote.server.on_start_script.os.environ',
                             {}), \
        mock.patch('marqo.inference.native_inference.remote.server.on_start_script.SetEnableVideoGPUAcceleration._check_video_gpu_acceleration_availability') as mock_check_gpu_acceleration:
            mock_check_gpu_acceleration.side_effect = exceptions.StartupSanityCheckError('GPU not available')

            # Create instance of the class
            obj = on_start_script.SetEnableVideoGPUAcceleration()

            # Run the method
            obj.run()

            # Assertions
            mock_check_gpu_acceleration.assert_called_once()
            self.assertEqual("FALSE", os.environ[EnvVars.MARQO_ENABLE_VIDEO_GPU_ACCELERATION])
Test when the env variable is None(not set by the users) and the check fails, the env var is set to 'FALSE'.
tests/unit_tests/marqo/inference/native_inference/remote/server/test_on_start_script.py