Skip to content

Commit dd6f199

Browse files
committed
fixing unint tests
1 parent 10f789d commit dd6f199

File tree

5 files changed

+689
-669
lines changed

5 files changed

+689
-669
lines changed

unicorn_approvals/pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ dev = [
2929
[tool.setuptools]
3030
package-dir = {"approvals_service" = "src"}
3131
packages = ["approvals_service"]
32+
33+
[tool.pytest.ini_options]
34+
minversion = "7.0"
35+
addopts = "-ra -vv -W ignore::UserWarning"
36+
testpaths = ["tests/unit", "tests/integration"]
37+
pythonpath = ["."]
38+
39+
[build-system]
40+
requires = ["uv_build"]
41+
build-backend = "uv_build"

unicorn_approvals/tests/unit/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
TABLE_NAME = "table1"
88
EVENTBUS_NAME = "test-eventbridge"
9-
EVENTS_DIR = Path(__file__).parent / "events"
9+
EVENTS_DIR = Path(__file__).parent.parent / "events"
1010

1111

1212
def load_event(filename):

0 commit comments

Comments
 (0)