Skip to content
Snippets Groups Projects
Commit ff51104e authored by vuillaut's avatar vuillaut
Browse files

test

parent 44312f81
No related branches found
No related tags found
1 merge request!57eossr upload unique function
Pipeline #138400 failed
......@@ -53,7 +53,9 @@ def test_help_all_scripts(script):
def test_eossr_upload(tmpdir):
file_handle, path_test_filename = tempfile.mkstemp(dir=tmpdir, text=True)
Path(path_test_filename).write_text('Hello World')
published = eossr_upload.upload(os.getenv('SANDBOX_ZENODO_TOKEN'), True, tmpdir)
published = eossr_upload.upload(zenodo_token=os.getenv('SANDBOX_ZENODO_TOKEN'),
sandbox_flag=True,
input_directory=tmpdir)
record_id = published.json()['id']
file_handle, path_test_filename = tempfile.mkstemp(dir=tmpdir, text=True)
Path(path_test_filename).write_text('Hello World 2')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment