Skip to content

Commit 3bbb290

Browse files
committed
fix: remove ref to WitPage._content in tests
1 parent e607ea5 commit 3bbb290

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎tests/integration/ontology_import_test.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_ontology_import(wiki_domain, wiki_username, wiki_password):
8484
RDnVhTMcRkWFpWWnAprFlO0|Category
8585
RD2X6TQT0bKVpXehgObBb7O|Item"""
8686

87-
actual = smw_import_page._content # get_slot_content("main")
87+
actual = smw_import_page.get_slot_content("main")
8888
assert actual == expected
8989

9090
property_name = None

‎tests/test_osl.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def __init__(self, wtSite: Any = None, title: str = None):
1515

1616
self.exists = True # only to fake the existence of the page for testing
1717
self._original_content = ""
18-
self._content = ""
1918
self.changed: bool = False
2019
self._dict = []
2120
self._slots: Dict[str, Union[str, dict]] = {"main": ""}

0 commit comments

Comments
 (0)