From 2a418d0b5c79dd2994d970f9a91d9e388796c3e0 Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Sun, 6 Sep 2020 15:44:45 +0000 Subject: [PATCH] Add PyTest and Hypothesis frameworks Bump Ubuntu version in Dockerfile, to avoid a bug in Python 3.5.2 which causes PyTest to crash on startup. --- .gitignore | 3 ++- Dockerfile | 2 +- requirements.txt | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ed8ebf5..f071240 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +.pytest_cache \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index dd7226b..60668e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Each time the image is built, docker will only rerun commands as necessary. # In practice, this means that the first build takes a while, but subsequent ones are much faster, if the dockerfile is well-ordered. -FROM ubuntu:16.04 +FROM ubuntu:20.04 MAINTAINER Spencer Brown "sbrow420@students.kennesaw.edu" diff --git a/requirements.txt b/requirements.txt index 2f1c9d6..f808858 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,22 @@ +attrs==20.2.0 click==7.1.2 Flask==1.1.2 +hypothesis==5.33.0 +importlib-metadata==1.7.0 +iniconfig==1.0.1 itsdangerous==1.1.0 Jinja2==2.11.2 MarkupSafe==1.1.1 +more-itertools==8.5.0 +packaging==20.4 +pathlib2==2.3.5 pkg-resources==0.0.0 +pluggy==0.13.1 +py==1.9.0 +pyparsing==2.4.7 +pytest==6.0.1 +six==1.15.0 +sortedcontainers==2.2.2 +toml==0.10.1 Werkzeug==1.0.1 +zipp==3.1.0