From 79d929e201892811ed72d90cdb7935581d5daf9a Mon Sep 17 00:00:00 2001 From: Laurent Charignon Date: Sun, 31 Jan 2016 16:59:26 -0800 Subject: tests: add a dummy pytest test and add it to the make test step --- Makefile | 1 + tests/__init__.py | 0 tests/ranger/__init__.py | 0 tests/ranger/container/__init__.py | 0 tests/ranger/container/test_container.py | 5 +++++ 5 files changed, 6 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/ranger/__init__.py create mode 100644 tests/ranger/container/__init__.py create mode 100644 tests/ranger/container/test_container.py diff --git a/Makefile b/Makefile index f6208015..71899dcd 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ test: echo "Testing $$FILE..."; \ RANGER_DOCTEST=1 PYTHONPATH=".:"$$PYTHONPATH ${PYTHON} $$FILE; \ done + py.test tests man: pod2man --stderr --center='ranger manual' --date='$(NAME)-$(VERSION)' \ diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/ranger/__init__.py b/tests/ranger/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/ranger/container/__init__.py b/tests/ranger/container/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/ranger/container/test_container.py b/tests/ranger/container/test_container.py new file mode 100644 index 00000000..5125245a --- /dev/null +++ b/tests/ranger/container/test_container.py @@ -0,0 +1,5 @@ +from ranger.container import history + + +def testhistory(tmpdir): + assert True -- cgit 1.4.1-2-gfad0