From 79d38e9a1fc56f9c7cdf65411a0085b384901919 Mon Sep 17 00:00:00 2001 From: Chris Berkhout Date: Sun, 27 May 2018 17:08:15 +0200 Subject: [PATCH] Testing stuff. --- .gitignore | 1 + pricedb_pull/test/__init__.py | 0 pricedb_pull/test/test_app.py | 5 +++++ 3 files changed, 6 insertions(+) create mode 100644 .gitignore create mode 100644 pricedb_pull/test/__init__.py create mode 100644 pricedb_pull/test/test_app.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ce1d24 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.pytest_cache diff --git a/pricedb_pull/test/__init__.py b/pricedb_pull/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pricedb_pull/test/test_app.py b/pricedb_pull/test/test_app.py new file mode 100644 index 0000000..6d32b89 --- /dev/null +++ b/pricedb_pull/test/test_app.py @@ -0,0 +1,5 @@ +def func(x): + return x + 1 + +def test_answer(): + assert func(4) == 5