Skip to content

Commit

Permalink
moved api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 23, 2024
1 parent 8dd98b0 commit 6c86e57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -51,9 +52,7 @@ Further reading:
├── LICENSE
├── pytest.ini
├── README.md
├── requirements.txt
└── tests
└── test_api.py
└── requirements.txt
```

## **Contributing**
Expand Down
3 changes: 2 additions & 1 deletion api/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
*
!api.py
!api.sh
!internal
!routers
!tooling
!tests
!__init__.py
!requirements.txt
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.

0 comments on commit 6c86e57

Please sign in to comment.