Skip to content

Commit

Permalink
Moving files, adding testing library
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdrans committed Mar 25, 2020
1 parent 972cb11 commit 8e2611e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ FROM python:3.8
COPY . /app
WORKDIR /app

CMD ["python", "/app/app.py"]
RUN pip install -U pytest

CMD ["python", "/app/src/app.py"]
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY: test

default: test

test:
PYTHONPATH=/app/tests pytest
4 changes: 0 additions & 4 deletions reminders.csv
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
reminder,due
Walk the dog,12/01/2020 15:00:00
Practice programming,12/03/2020 20:00:00
Grocery shopping,12/05/2020 12:00:00
1 change: 1 addition & 0 deletions app.py → src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def handle_input(input):
def print_menu():
print()
print('|--------------|')
print('| Pluralsight |')
print('| Reminders |')
print('| App |')
print('|--------------|')
Expand Down
File renamed without changes.

0 comments on commit 8e2611e

Please sign in to comment.