def METHOD_NAME(self, mock_ite):
    mock_ite.return_value = False
    app_class = TethysAppBase
    self.assertRaises(
        EnvironmentError,
        base_testing.TethysTestCase.create_test_persistent_stores_for_app,
        app_class,
    )