diff options
| author | Alex Schofield <git@ajschof.me> | 2025-02-18 17:05:19 +0000 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2025-02-18 17:05:19 +0000 |
| commit | 4a2b7bbae7c95ade8bcb13ae1ea270469b685f0f (patch) | |
| tree | 4d793afed597b0ebc0f8f02bf42c2130d0ba39fc | |
| parent | a104e4a04c914eed6b2a9c52107cdbf7f164d106 (diff) | |
| download | gdpr-obfuscator-4a2b7bbae7c95ade8bcb13ae1ea270469b685f0f.tar.gz gdpr-obfuscator-4a2b7bbae7c95ade8bcb13ae1ea270469b685f0f.zip | |
add & import boto3 and moto to pyproject.toml/test_csv_reader.py
| -rw-r--r-- | pyproject.toml | 3 | ||||
| -rw-r--r-- | test/test_csv_reader.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index cc923b9..46114bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "A Python library designed to detect and remove Personally Identif authors = [{ name = "Alex Schofield", email = "git@ajschof.me" }] readme = "README.md" requires-python = ">=3.13" -dependencies = ["tabulate (>=0.9.0,<0.10.0)"] +dependencies = ["tabulate (>=0.9.0,<0.10.0)", "boto3 (>=1.36.22,<2.0.0)"] [tool.poetry] package-mode = false @@ -13,6 +13,7 @@ package-mode = false [tool.poetry.group.dev.dependencies] pytest = "8.3.4" pytest-cov = "^6.0.0" +moto = "^5.0.28" [build-system] requires = ["poetry-core>=2.0.0,<3.0.0"] diff --git a/test/test_csv_reader.py b/test/test_csv_reader.py index 271adae..f59a5a7 100644 --- a/test/test_csv_reader.py +++ b/test/test_csv_reader.py @@ -1,6 +1,8 @@ # csv_reader.py - tests # Author: Alex Schofield +import boto3 +from moto import mock_s3 from obfuscator.csv_reader import CSVReader reader = CSVReader() |
