aboutsummaryrefslogtreecommitdiffstats
path: root/test/filename_matching.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-07-31 00:01:15 +0200
committerGitHub <noreply@github.com>2017-07-31 00:01:15 +0200
commit018668618e26723b66a7878d7892403043d8ccc6 (patch)
treedae3a55a04f3b1282eed9f046fd20e5f29107a9d /test/filename_matching.py
parentf844c68e2ec6b9daedc376f75ae0a4e09a4ac22c (diff)
parent826513ef278739b51d4d25eefef0ab6217df74ab (diff)
downloadmitmproxy-018668618e26723b66a7878d7892403043d8ccc6.tar.gz
mitmproxy-018668618e26723b66a7878d7892403043d8ccc6.tar.bz2
mitmproxy-018668618e26723b66a7878d7892403043d8ccc6.zip
Merge pull request #2484 from mhils/options-into-own-addon
Enable tool-specific options
Diffstat (limited to 'test/filename_matching.py')
-rw-r--r--test/filename_matching.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filename_matching.py b/test/filename_matching.py
index 51cedf03..e74848d4 100644
--- a/test/filename_matching.py
+++ b/test/filename_matching.py
@@ -22,7 +22,7 @@ def check_src_files_have_test():
def check_test_files_have_src():
unknown_test_files = []
- excluded = ['test/mitmproxy/data/', 'test/mitmproxy/net/data/', '/tservers.py']
+ excluded = ['test/mitmproxy/data/', 'test/mitmproxy/net/data/', '/tservers.py', '/conftest.py']
test_files = glob.glob('test/mitmproxy/**/*.py', recursive=True) + glob.glob('test/pathod/**/*.py', recursive=True)
test_files = [f for f in test_files if os.path.basename(f) != '__init__.py']
test_files = [f for f in test_files if not any(os.path.normpath(p) in f for p in excluded)]