From 4db793ba2be490baf292d6c47fdb29f68f0233b7 Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Sun, 28 Apr 2019 15:55:43 +0200
Subject: [PATCH] [fix] Fix tests filter removed and improve README tests
 filter example

---
 Makefile   | 2 +-
 README.rst | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 4112ba3d..1c169e39 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ docs:
 
 # run tests
 tests:
-	python3 -m unittest
+	python3 -m unittest ${TESTS_FILTER}
 
 # check static typing
 check:
diff --git a/README.rst b/README.rst
index 9e8b412e..c7455629 100644
--- a/README.rst
+++ b/README.rst
@@ -69,9 +69,9 @@ Development
 
     make tests
 
-* Run only some unit tests with::
+* Run only some unit tests by passing a special ENV variable::
 
-    make tests test_filter=tests.documents.test_block.TestBlock.test_fromraw
+    make tests TESTS_FILTER=tests.documents.test_block.TestBlock.test_fromraw
 
 Documentation
 -------------
-- 
GitLab