diff options
author | Laurent Charignon <l.charignon@gmail.com> | 2016-01-31 16:59:26 -0800 |
---|---|---|
committer | Laurent Charignon <l.charignon@gmail.com> | 2016-01-31 16:59:26 -0800 |
commit | 79d929e201892811ed72d90cdb7935581d5daf9a (patch) | |
tree | f8d1d822e9b1e00b013cdaf9ff9ba2f7fb9591eb | |
parent | fa4c3bbd9e33fde2727c5056c5f9d866a6227fe8 (diff) | |
download | ranger-79d929e201892811ed72d90cdb7935581d5daf9a.tar.gz |
tests: add a dummy pytest test and add it to the make test step
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | tests/__init__.py | 0 | ||||
-rw-r--r-- | tests/ranger/__init__.py | 0 | ||||
-rw-r--r-- | tests/ranger/container/__init__.py | 0 | ||||
-rw-r--r-- | tests/ranger/container/test_container.py | 5 |
5 files changed, 6 insertions, 0 deletions
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 --- /dev/null +++ b/tests/__init__.py diff --git a/tests/ranger/__init__.py b/tests/ranger/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/ranger/__init__.py diff --git a/tests/ranger/container/__init__.py b/tests/ranger/container/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/ranger/container/__init__.py 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 |