diff --git a/nose2.cfg b/nose2.cfg
index a7850f000fd8fb9a4b96d43d4bb81e8122cdc388..b1ea5d962a6eb7d99d760a3c35f25e465b4696f2 100644
--- a/nose2.cfg
+++ b/nose2.cfg
@@ -1,2 +1,4 @@
 [unittest]
 plugins = nose2.plugins.junitxml
+start-dir = lib
+test-file-pattern=*.py