Skip to content
Snippets Groups Projects
Commit 7c44041d authored by Vermaat's avatar Vermaat
Browse files

Fix NG reference unit test

git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/rpclib-branch@536 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent fe41b0a2
No related branches found
No related tags found
No related merge requests found
......@@ -367,23 +367,23 @@ class TestWebservice():
r = self.client.service.runMutalyzer('NG_012772:g.18964del')
assert_equal(r.errors, 0)
assert_equal(r.referenceId, 'NG_012772')
assert_equal(r.sourceId, 'NG_012772.1')
assert_equal(r.sourceId, 'NG_012772.3')
assert_equal(r.sourceAccession, 'NG_012772')
assert_equal(r.sourceVersion, '1')
assert_equal(r.sourceGi, '256574794')
assert_equal(r.sourceVersion, '3')
assert_equal(r.sourceGi, '388428999')
assert_equal(r.molecule, 'g')
def test_runmutalyzer_reference_info_ng_version(self):
"""
Get reference info for an NG variant with version.
"""
r = self.client.service.runMutalyzer('NG_012772:g.18964del')
r = self.client.service.runMutalyzer('NG_012772.3:g.18964del')
assert_equal(r.errors, 0)
assert_equal(r.referenceId, 'NG_012772')
assert_equal(r.sourceId, 'NG_012772.1')
assert_equal(r.referenceId, 'NG_012772.3')
assert_equal(r.sourceId, 'NG_012772.3')
assert_equal(r.sourceAccession, 'NG_012772')
assert_equal(r.sourceVersion, '1')
assert_equal(r.sourceGi, '256574794')
assert_equal(r.sourceVersion, '3')
assert_equal(r.sourceGi, '388428999')
assert_equal(r.molecule, 'g')
def test_runmutalyzer_reference_info_gi(self):
......
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