aboutsummaryrefslogtreecommitdiffstats
path: root/test/filename_matching.py
diff options
context:
space:
mode:
authorPietro Francesco Tirenna <pietrotirenna.pt@gmail.com>2018-07-02 15:59:48 +0200
committermadt1m <blackjuniper@protonmail.com>2018-07-17 19:23:01 +0200
commitd5da74645b1231783eb5d527f226d0b06ffd2c4d (patch)
tree750566b08a30a205a55550ec0a22c556c9a97729 /test/filename_matching.py
parent204faa1f524cdd5dcd997237b017ffa045aad1ec (diff)
downloadmitmproxy-d5da74645b1231783eb5d527f226d0b06ffd2c4d.tar.gz
mitmproxy-d5da74645b1231783eb5d527f226d0b06ffd2c4d.tar.bz2
mitmproxy-d5da74645b1231783eb5d527f226d0b06ffd2c4d.zip
protobuf: tests implemented, full coverage
Diffstat (limited to 'test/filename_matching.py')
-rwxr-xr-xtest/filename_matching.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/filename_matching.py b/test/filename_matching.py
index 5f49725e..f5321307 100755
--- a/test/filename_matching.py
+++ b/test/filename_matching.py
@@ -9,7 +9,8 @@ import sys
def check_src_files_have_test():
missing_test_files = []
- excluded = ['mitmproxy/contrib/', 'mitmproxy/test/', 'mitmproxy/tools/', 'mitmproxy/platform/']
+ excluded = ['mitmproxy/contrib/', 'mitmproxy/io/proto/',
+ 'mitmproxy/test/', 'mitmproxy/tools/', 'mitmproxy/platform/']
src_files = glob.glob('mitmproxy/**/*.py', recursive=True) + glob.glob('pathod/**/*.py', recursive=True)
src_files = [f for f in src_files if os.path.basename(f) != '__init__.py']
src_files = [f for f in src_files if not any(os.path.normpath(p) in f for p in excluded)]