diff --git a/README.md b/README.md index 24bee34..7b8af78 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,17 @@ Further reading: ## Repo layout ```text -. ├── api │   ├── api.py │   ├── Dockerfile │   ├── README.md │   ├── requirements.txt -│   └── routers -│   ├── configuration.py -│     ├── log.py -│   └── internal.py +│   ├── routers +│   │ ├── configuration.py +│   │  ├── log.py +│   │ └── internal.py +│ └── tests +│ └── test_api.py ├── cli │   ├── cli.py │   ├── Dockerfile @@ -51,9 +52,7 @@ Further reading: ├── LICENSE ├── pytest.ini ├── README.md -├── requirements.txt -└── tests - └── test_api.py +└── requirements.txt ``` ## **Contributing** diff --git a/api/.dockerignore b/api/.dockerignore index 6d150e6..0879718 100644 --- a/api/.dockerignore +++ b/api/.dockerignore @@ -1,7 +1,8 @@ * !api.py !api.sh +!internal !routers -!tooling +!tests !__init__.py !requirements.txt diff --git a/api/README.md b/api/README.md index af5b6ef..46fe372 100644 --- a/api/README.md +++ b/api/README.md @@ -68,7 +68,7 @@ and optionally you can pass environment variables like /tests contains the [pytest](https://docs.pytest.org/en/stable/) testing framework [integrated with FastAPI](https://fastapi.tiangolo.com/tutorial/testing/) and will be expanded over time. Currently, this has to be run manually from repo root with 'pytest' and has poor coverage. -You can find the beginnings in [/tests/test_api.py](../tests/test_api.py). +You can find the beginnings in [tests/test_api.py](tests/test_api.py). ## OpenAPI docs diff --git a/tests/test_api.py b/api/tests/test_api.py similarity index 100% rename from tests/test_api.py rename to api/tests/test_api.py