Merlijn van Deen has submitted this change and it was merged.
Change subject: Disable printing of API parameters which could leak private info and were generally not useful ......................................................................
Disable printing of API parameters which could leak private info and were generally not useful
Change-Id: I8a8a8d10799df4f61e4465fe60b6c7efbefbd962 --- M tests/__init__.py 1 file changed, 0 insertions(+), 7 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved
diff --git a/tests/__init__.py b/tests/__init__.py index 0487fc4..e0c4f27 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -24,13 +24,6 @@ def _expired(self, dt): return False
- def submit(self): - cached_available = self._load_cache() - if not cached_available: - print str(self) - return super(TestRequest, self).submit() - - def patch_request(): pywikibot.data.api.Request = TestRequest