-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Content-Type headers for sequences and metadata uploaded to S3
- Loading branch information
Jeremy Adams
committed
May 15, 2020
1 parent
cf7777a
commit f5c25c4
Showing
8 changed files
with
79 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"source": { | ||
"type": "ena_assembly", | ||
"ena_refget_processor_script": "/path/to/script.pl", | ||
"processing_dir": "tests/data/output", | ||
"start_date": "2019-08-02", | ||
"number_of_days": 1 | ||
}, | ||
"destination": { | ||
"type": "aws_s3", | ||
"bucket_name": "ga4gh-refget" | ||
}, | ||
"environment": "local" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
"""End-to-end testing of the "load" cli operation""" | ||
|
||
import click | ||
import os | ||
from click.testing import CliRunner | ||
from ga4gh.refget.loader.cli.methods.load import load | ||
|
||
data_dir = os.path.join("tests", "data") | ||
json_dir = os.path.join(data_dir, "json") | ||
out_dir = os.path.join("output", "end") | ||
|
||
cases = [ | ||
{ | ||
"config_file": os.path.join( | ||
data_dir, | ||
"ConfigEnaAssemblyAwsS3.json" | ||
) | ||
} | ||
|
||
] | ||
|
||
def test_load(): | ||
|
||
for c in cases: | ||
runner = CliRunner() | ||
args = ["-c", c["config_file"]] | ||
result = runner.invoke(load, args) | ||
assert result.exit_code == 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters