diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-07-31 00:01:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-31 00:01:15 +0200 |
commit | 018668618e26723b66a7878d7892403043d8ccc6 (patch) | |
tree | dae3a55a04f3b1282eed9f046fd20e5f29107a9d /test/filename_matching.py | |
parent | f844c68e2ec6b9daedc376f75ae0a4e09a4ac22c (diff) | |
parent | 826513ef278739b51d4d25eefef0ab6217df74ab (diff) | |
download | mitmproxy-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.py | 2 |
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)] |