jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/402355 )

Change subject: Setup VCR for dry tests
......................................................................


Setup VCR for dry tests

vcrpy allows to convert tests to dry by mocking requests,
which are recorded and saved in tests/cassettes
This enables VCR for TestOwnClient, TestCachedRequest and
TestParaminfoModules

Bug: T184081
Change-Id: Ia588bcacce850e3fa9307ea65793a33eebc669ff
---
M dev-requirements.txt
M tests/README.rst
M tests/api_tests.py
M tests/aspects.py
A tests/cassettes/wikidata.test/TestOwnClient.test_own_client_wikidatatest.yaml
A tests/cassettes/wikidata.wikidata/TestOwnClient.test_own_client_wikidata.yaml
A tests/cassettes/wikipedia.en/TestCachedRequest.test_normal_use.yaml
A tests/cassettes/wikipedia.en/TestParaminfoModules.test_action_modules.yaml
A tests/cassettes/wikipedia.en/TestParaminfoModules.test_query_modules.yaml
M tests/wikibase_tests.py
M tox.ini
11 files changed, 2,519 insertions(+), 1 deletion(-)

Approvals:
  John Vandenberg: Looks good to me, approved
  jenkins-bot: Verified




-- 
To view, visit https://gerrit.wikimedia.org/r/402355
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia588bcacce850e3fa9307ea65793a33eebc669ff
Gerrit-PatchSet: 29
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Phantom42 <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Phantom42 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to