diff --git a/pyproject.toml b/pyproject.toml index fab6fd1..de9e4ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,4 +42,5 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] mint = "mint.app:main" -cashu = "wallet.cashu:cli" \ No newline at end of file +cashu = "wallet.cashu:cli" +wallet-test = "tests.test_wallet:test" \ No newline at end of file diff --git a/test_wallet.py b/tests/test_wallet.py similarity index 95% rename from test_wallet.py rename to tests/test_wallet.py index 1ce535a..107269b 100644 --- a/test_wallet.py +++ b/tests/test_wallet.py @@ -118,3 +118,7 @@ async def run_test(): if __name__ == "__main__": async_unwrap(run_test()) + + +def test(): + async_unwrap(run_test())