From 65f725a29286db658c4c2c28b7502270fc5de748 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Wed, 9 Dec 2020 21:52:53 +0100 Subject: [PATCH] upd: fixes unit tests --- jenkins_job.py | 2 +- motion.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins_job.py b/jenkins_job.py index 56dc831..165d276 100644 --- a/jenkins_job.py +++ b/jenkins_job.py @@ -7,7 +7,7 @@ def runner(output='python_tests_xml'): ) def find_tests(): - return unittest.TestLoader().discover('tests', 'test_motion.py') + return unittest.TestLoader().discover('tests', 'test_*.py') if __name__ == "__main__": runner().run(find_tests()) diff --git a/motion.py b/motion.py index 5291469..82efd00 100644 --- a/motion.py +++ b/motion.py @@ -39,6 +39,7 @@ class default_settings(object): COPYRIGHTLINK="https://wpia.club" IMPRINTLINK="https://documents.wpia.club/imprint.html" DATAPROTECTIONLINK="https://documents.wpia.club/data_privacy_policy_html_pages_en.html" + MAX_PROXY=2 # Load config -- 2.39.2