Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ app/
evaluation.py # Script containing the main evaluation_function
preview.py # Script containing the preview_function
docs.md # Documentation page for this function (required)
evaluation_test.py # Unittests for the main evaluation_function
preview_test.py # Unittests for the preview_function
evaluation_tests.py # Unittests for the main evaluation_function
preview_tests.py # Unittests for the preview_function
requirements.txt # list of packages needed for algorithm.py
Dockerfile # for building whole image to deploy to AWS

Expand Down
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ RUN pip3 install pytest

# Copy the evaluation and testing scripts
COPY evaluation.py ./app/
COPY evaluation_test.py ./app/
COPY evaluation_tests.py ./app/

# Copy the preview and testing scripts
COPY preview.py ./app/
COPY preview_test.py ./app/
COPY preview_tests.py ./app/

# Copy Documentation
COPY docs/dev.md ./app/docs/dev.md
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pytest]
# evaluation_tests.py and preview_tests.py are the names the base layer's
# healthcheck imports, so include them alongside pytest's default patterns.
python_files = test_*.py *_test.py *_tests.py
Loading