Last modified: 2014-09-09 22:05:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58960, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56960 - Tests: allow for logged-out operation
Tests: allow for logged-out operation
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 21:43 UTC by Merlijn van Deen (test)
Modified: 2014-09-09 22:05 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2013-11-12 21:43:30 UTC
Currently, tests require the user to be logged in. It would be good to be able to run tests without requiring that -- for example, the unit tests in jenkins do not have a password available and thus cannot run completely.

Tests that should be skipped can be seen at https://integration.wikimedia.org/ci/job/pywikibot-core-tests/185/consoleFull
Comment 1 pyfisch 2013-11-14 20:10:16 UTC
It would also be great if fetching functions would work without logging in in General.
Comment 2 Gerrit Notification Bot 2014-09-03 11:40:15 UTC
Change 154469 had a related patch set uploaded by John Vandenberg:
Test metaclass

https://gerrit.wikimedia.org/r/154469
Comment 3 John Mark Vandenberg 2014-09-03 11:49:23 UTC
This request was mostly completed in https://gerrit.wikimedia.org/r/#/c/151604/ .

https://gerrit.wikimedia.org/r/154469 provides all the functionality, and marks some tests as needing a 'user', but some are not yet marked as needing a 'user' as some test classes need to be split so the tests which need a user are separated from the other tests which can run without a user.
Comment 4 Gerrit Notification Bot 2014-09-09 21:32:52 UTC
Change 154469 merged by XZise:
Test metaclass

https://gerrit.wikimedia.org/r/154469

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links