test framework and example test added

This commit is contained in:
Joshua Burman 2022-04-14 23:54:10 -04:00
parent 4c4a447afe
commit 41856322f8
3 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,7 @@ RUN python -m pip install pydantic
RUN python -m pip install daemonize
RUN python -m pip install sqspy
RUN python -m pip install -U pytest
RUN python -m pip install pytest-spec
RUN mkdir /app
WORKDIR /app

View File

@ -7,6 +7,7 @@ RUN python -m pip install pydantic
RUN python -m pip install daemonize
RUN python -m pip install sqspy
RUN python -m pip install -U pytest
RUN python -m pip install pytest-spec
RUN mkdir /app
WORKDIR /app

7
app/test/test_example.py Normal file
View File

@ -0,0 +1,7 @@
# content of example.py
def func(x):
return x + 1
def test_answer():
assert func(3) == 5