Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
=================================== FAILURES ===================================
________________________ TestAddingReferences.test_add _________________________

self = <tests.noreferences_tests.TestAddingReferences testMethod=test_add>

    def test_add(self):
        """Test adding references section."""
        page = pywikibot.Page(self.site, 'foo')
>       bot = NoReferencesBot()
E       TypeError: __init__() takes exactly 2 arguments (1 given)

tests/noreferences_tests.py:26: TypeError
________________ TestAddingReferences.test_add_under_templates _________________

self = <tests.noreferences_tests.TestAddingReferences testMethod=test_add_under_templates>

    def test_add_under_templates(self):
        """Test adding references section under templates in section."""
        page = pywikibot.Page(self.site, 'foo')
>       bot = NoReferencesBot()
E       TypeError: __init__() takes exactly 2 arguments (1 given)

tests/noreferences_tests.py:36: TypeError

TASK DETAIL
https://phabricator.wikimedia.org/T188175

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Dvorapa, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to