aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_init.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-21 03:20:12 +0000
committerAlex Schofield <git@ajschof.me>2025-02-21 03:20:12 +0000
commitc3a0d2f04d5338a3ffc115de37fcd56dc85a092c (patch)
tree13acc6e7797720bc173cea6c3622bc3039d38d4f /test/test_init.py
parentdcb40cd87546619c48055b4cc6440ccea6bb1ab1 (diff)
downloadgdpr-obfuscator-c3a0d2f04d5338a3ffc115de37fcd56dc85a092c.tar.gz
gdpr-obfuscator-c3a0d2f04d5338a3ffc115de37fcd56dc85a092c.zip
update main unit test for core functionality
Diffstat (limited to 'test/test_init.py')
-rw-r--r--test/test_init.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/test_init.py b/test/test_init.py
deleted file mode 100644
index 0915f13..0000000
--- a/test/test_init.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from gdpr_obfuscator import Obfuscator
-import moto
-
-obfuscator = Obfuscator()
-
-
-def test_main_integration():
- test_source = "s3://test-bucket/data.csv"
- result = obfuscator.process_s3(test_source, ["name"])
- result_str = result.decode("utf-8")
- assert "John" not in result_str
- assert "***" in result_str
git.ajschof.me — hosted by ajschofield — powered by cgit