Skip to content

Commit

Permalink
minor edit - link phab ticket for extlinks tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fastily committed Jun 9, 2023
1 parent bc310b3 commit 22a24b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_mquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_duplicate_files(self):
expected = {"File:FastilyTest.svg": []}
self.assertDictEqual(expected, MQuery.duplicate_files(self.wiki, list(expected.keys()), False, True))

@skip("Regression on testwiki - 1.41.0-wmf.10") # TODO - revisit
@skip("Regression on testwiki - https://phabricator.wikimedia.org/T337994") # TODO - revisit
def test_external_links(self):
m = MQuery.external_links(self.wiki, ["User:Fastily/Sandbox/ExternalLink", "User:Fastily/Sandbox", "User:Fastily/DoesNotExist789"])
self.assertCountEqual(["https://www.google.com", "https://www.facebook.com", "https://github.com"], m["User:Fastily/Sandbox/ExternalLink"])
Expand Down
2 changes: 1 addition & 1 deletion tests/test_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test_duplicate_files(self):
def test_exists(self):
self.assertTrue(self.wiki.exists("Main Page"))

@skip("Regression on testwiki - 1.41.0-wmf.10") # TODO - revisit
@skip("Regression on testwiki - https://phabricator.wikimedia.org/T337994") # TODO - revisit
def test_external_links(self):
self.assertCountEqual(["https://www.google.com", "https://www.facebook.com", "https://github.com"], self.wiki.external_links("User:Fastily/Sandbox/ExternalLink"))

Expand Down

0 comments on commit 22a24b1

Please sign in to comment.