jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1037893?usp=email )

Change subject: [tests] Remove superfluous assignment to config.family
......................................................................

[tests] Remove superfluous assignment to config.family

This is already done in setUp() method.

Change-Id: I102b14c4921f37b71f2d475ed17fc2325189387e
---
M tests/link_tests.py
1 file changed, 0 insertions(+), 1 deletion(-)

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




diff --git a/tests/link_tests.py b/tests/link_tests.py
index 05756fc..2c753f9 100755
--- a/tests/link_tests.py
+++ b/tests/link_tests.py
@@ -524,7 +524,6 @@

     def test_fully_qualified_NS0_family(self):
         """Test ':wikidata:testwiki:Q6' on enwp is namespace 0."""
-        config.family = 'wikipedia'
         link = Link(':wikidata:testwiki:Q6')
         link.parse()
         self.assertEqual(link.site, self.get_site('test'))

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1037893?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I102b14c4921f37b71f2d475ed17fc2325189387e
Gerrit-Change-Number: 1037893
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to