Skip to content

Commit

Permalink
Merge branch 'main' into gomes/reduce-count-in-asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperGomes committed Nov 29, 2024
2 parents db954f5 + 444da5c commit c15f276
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
from package.calculation.calculation_output import CalculationOutput


@pytest.fixture(scope="module", autouse=True)
def clear_cache(spark: SparkSession) -> None:
yield
# Clear the cache after each test module to avoid memory issues
spark.catalog.clearCache()


@pytest.fixture(scope="module")
def actual_and_expected(
request: FixtureRequest,
Expand Down

0 comments on commit c15f276

Please sign in to comment.