Skip to content

Commit 766366b

Browse files
committed
mock_pyspark_getOrCreate
1 parent 6ce7780 commit 766366b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

python/tests/engine/test_spark.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ def test_register_external_temporary_table(self, mocker):
174174
# Arrange
175175
mocker.patch("hopsworks_common.client.get_instance")
176176
mock_sc_read = mocker.patch("hsfs.storage_connector.JdbcConnector.read")
177-
mock_pyspark_getOrCreate = mocker.patch(
178-
"pyspark.sql.session.SparkSession.builder.getOrCreate"
179-
)
180177

181178
spark_engine = spark.Engine()
182179

0 commit comments

Comments
 (0)