Skip to content

Commit 5713278

Browse files
author
Lingling Peng
committed
use schedule for cleanup; delete unnecessary insert
1 parent 36ae08d commit 5713278

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/integration/synapseclient/test_wikis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
# @skip("Skip integration tests for soon to be removed code")
15-
def test_wikiAttachment(syn: Synapse, project: Project, schedule_for_cleanup) -> None:
15+
def test_wikiAttachment(syn: Synapse, project, schedule_for_cleanup) -> None:
1616
# Upload a file to be attached to a Wiki
1717
filename = utils.make_bogus_data_file()
1818
attachname = utils.make_bogus_data_file()
@@ -78,7 +78,6 @@ def test_wikiAttachment(syn: Synapse, project: Project, schedule_for_cleanup) ->
7878
file_names = [fh["fileName"] for fh in file_handles]
7979
for fn in [filename, attachname]:
8080
assert os.path.basename(fn) in file_names
81-
pytest.raises(SynapseHTTPError, syn.getWiki, project)
8281

8382

8483
# @skip("Skip integration tests for soon to be removed code")

0 commit comments

Comments
 (0)