diff --git a/.docker-compose/Dockerfile b/.docker-compose/Dockerfile index b8715c1..65e1df4 100644 --- a/.docker-compose/Dockerfile +++ b/.docker-compose/Dockerfile @@ -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 diff --git a/Dockerfile b/Dockerfile index c41c12d..cbdd950 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/app/test/test_example.py b/app/test/test_example.py new file mode 100644 index 0000000..443721e --- /dev/null +++ b/app/test/test_example.py @@ -0,0 +1,7 @@ +# content of example.py +def func(x): + return x + 1 + + +def test_answer(): + assert func(3) == 5 \ No newline at end of file