jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/452671 )
Change subject: test_WbGeoShape_error_on_wrong_page_type: Use another tabular data page ......................................................................
test_WbGeoShape_error_on_wrong_page_type: Use another tabular data page
Bug: T201922 Change-Id: I71b3d9c44ca6d3e1243a68afa59f800e940d92ba --- M tests/wikibase_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/wikibase_tests.py b/tests/wikibase_tests.py index 78608f4..7407847 100644 --- a/tests/wikibase_tests.py +++ b/tests/wikibase_tests.py @@ -729,7 +729,7 @@ def test_WbGeoShape_error_on_wrong_page_type(self): """Test WbGeoShape error handling of a non-map page.""" non_data_page = Page(self.commons, 'File:Foo.jpg') - non_map_page = Page(self.commons, 'Data:Templatedata/Graph:Lines.tab') + non_map_page = Page(self.commons, 'Data:TemplateData/TemplateData.tab') regex = r"^Page must be in 'Data:' namespace and end in '.map' " + \ r"for geo-shape.$" with self.assertRaisesRegex(ValueError, regex):