Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_cli.py #16

Open
manny809dr opened this issue Mar 22, 2017 · 2 comments
Open

test_cli.py #16

manny809dr opened this issue Mar 22, 2017 · 2 comments

Comments

@manny809dr
Copy link
Collaborator

Both test_cases passing the convert and converter function are not working

@childers
Copy link
Collaborator

@manny809dr can you paste your path and sample commands?

@manny809dr
Copy link
Collaborator Author

manny809dr commented Mar 28, 2017

`from cli import command
from tests.test_utilities import Capturing
from cli.assembly import fetch_assembly_report, get_mapper, convert, converter

def test_fetch_GRCh38():
url = fetch_assembly_report("GRCh38")
print(url)
assert not url == "gasdf"
assert url == "http://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.26_GRCh38/GCF_000001405.26_GRCh38_assembly_report.txt"

def test_get_mapper():
assert get_mapper("http://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.26_GRCh38/GCF_000001405.26_GRCh38_assembly_report.txt")

def test_convert():
assert convert()

def test_converter():
assert converter()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants