aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-14 14:01:05 +0000
committerAlex Schofield <git@ajschof.me>2025-02-14 14:01:05 +0000
commitad1d342894d31838c3b1b98eb66c5498c101e8ac (patch)
tree30bd8a90fab322929181e33a922681f89c993d55 /test
parentbebcd423e7ca5aa620b8ceeef67e77daa3f14f0f (diff)
downloadgdpr-obfuscator-ad1d342894d31838c3b1b98eb66c5498c101e8ac.tar.gz
gdpr-obfuscator-ad1d342894d31838c3b1b98eb66c5498c101e8ac.zip
create CSVReader instance for tests - broken
Diffstat (limited to 'test')
-rw-r--r--test/test_csv_reader.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_csv_reader.py b/test/test_csv_reader.py
index d245d7c..0098e0f 100644
--- a/test/test_csv_reader.py
+++ b/test/test_csv_reader.py
@@ -1,9 +1,13 @@
# csv_reader.py - tests
# Author: Alex Schofield
-from main import csv_reader
+from obfuscator.csv_reader import CSVReader
import pytest
+reader = CSVReader()
+
+### TODO : TESTS ARE BROKEN, FIX THEM IN NEXT BRANCH ###
+
def test_empty_csv_should_return_no_content():
content = ""
result = csv_reader(content)
git.ajschof.me — hosted by ajschofield — powered by cgit