Skip to content

Commit

Permalink
submitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen2x committed May 12, 2017
1 parent 2155d60 commit 1fddbca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/submission/test_submitter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from egasub.submission.submitter import Submitter
import os
import pytest
from egasub.submission.submittable import Unaligned
from egasub.ega.entities.sample import Sample
from egasub.ega.entities.attribute import Attribute
Expand All @@ -18,6 +19,7 @@ def test_submitter(ctx, mock_server):

attributes = [Attribute('tag1', 'value1'), Attribute('tag2', 'value2')]
sample = Sample('an alias','the title','the description',123,2,'head','test line','test region','a phenotype',33,'anonymized name',22,10,'some details',attributes,33)
#assert submitter.set_icgc_ids(sample, True) is None
with pytest.raises(Exception):
submitter.set_icgc_ids(sample, True)


0 comments on commit 1fddbca

Please sign in to comment.