Skip to content

Commit 04eba66

Browse files
authored
fix: fixes broken integration test (#649)
1 parent c6b0309 commit 04eba66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cli/test_integration_datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ def test_dataset_import_real_doi_warnings(runner, project):
102102
assert 'OK' in result.output
103103

104104
result = runner.invoke(
105-
cli.cli, ['dataset', 'import', '10.5281/zenodo.597964'], input='y\nn'
105+
cli.cli, ['dataset', 'import', '10.5281/zenodo.597964'], input='y\n'
106106
)
107107
assert 0 == result.exit_code
108108
assert 'Warning: Newer version found' not in result.output
109109
assert 'Warning: This dataset already exists.' not in result.output
110-
assert 'OK' not in result.output
110+
assert 'OK' in result.output
111111

112112
result = runner.invoke(cli.cli, ['dataset'])
113113
assert 0 == result.exit_code

0 commit comments

Comments
 (0)