jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/328520 )
Change subject: tests/README.rst: Explain `cached` and `cacheinfo` class attributes
......................................................................
tests/README.rst: Explain `cached` and `cacheinfo` class attributes
Change-Id: I12ba77ab4b5b9a8cf7ee4ea41cd3ad6b1ad65fde
---
M tests/README.rst
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Magul: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/README.rst b/tests/README.rst
index 90f88db..b34ab6b 100644
--- a/tests/README.rst
+++ b/tests/README.rst
@@ -352,6 +352,8 @@
- ``net = False`` : test class does not use a site
- ``dry = True`` : test class can use a fake site object
+- ``cached = True``: test class may aggressively cache API responses
+- ``cacheinfo = True``: report cache hits and misses on tearDown
- ``user = True`` : test class needs to login to site
- ``sysop = True`` : test class needs to login to site as a sysop
- ``write = True`` : test class needs to write to a site
--
To view, visit
https://gerrit.wikimedia.org/r/328520
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I12ba77ab4b5b9a8cf7ee4ea41cd3ad6b1ad65fde
Gerrit-PatchSet: 4
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>