Skip to content

Commit

Permalink
all tests passed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sid Mohan authored and Sid Mohan committed Feb 21, 2024
1 parent aa3374e commit ec3012a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/test_presidio.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
import os
import tempfile

import polars as pl
import pytest

import datafog
from datafog.presidio import PresidioPolarFog

# import tempfile


@pytest.fixture
def sample_csv_file():
# Setup: Create a temporary CSV file
# with tempfile.NamedTemporaryFile(mode="w", delete=False, suffix=".csv") as tmpfile:
# tmpfile.write(
# "name,email\nJohn Doe,john.doe@example.com\nJane Doe,jane.doe@example.com"
# )
# return tmpfile.name
return "/Users/sidmohan/Desktop/v2.0.0/datafog-python/tests/files/sample.csv"
with tempfile.NamedTemporaryFile(mode="w", delete=False, suffix=".csv") as tmpfile:
tmpfile.write(
"name,email\nJohn Doe,john.doe@example.com\nJane Doe,jane.doe@example.com"
)
return tmpfile.name


# test init of PresidioPolarFog
Expand Down

0 comments on commit ec3012a

Please sign in to comment.