Skip to content

Commit

Permalink
Merge 070ce25 into faecab5
Browse files Browse the repository at this point in the history
  • Loading branch information
junjun-zhang committed May 2, 2017
2 parents faecab5 + 070ce25 commit 30ef181
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from egasub.ega.entities.custom_tag import CustomTag

tags = [CustomTag('tag1','value1'),CustomTag('tag2','value2')]
study = Study('an alias',33,'Short name','the title','the abstract','own term',[1,2,3],tags,'my_study')
study = Study('an alias',33,'name','the title','the abstract','own term',[1,2,3],tags,'my_study')

def test_study_type_id():
assert 33 == study.study_type_id

def test_short_name():
assert 'Short name' == study.short_name
assert 'name' == study.short_name

def test_title():
assert 'the title' == study.title
Expand All @@ -29,7 +29,7 @@ def test_to_dict():
assert cmp(
{
'studyTypeId' : 33,
'shortName':'Short name',
'shortName':'name',
'title':'the title',
'studyAbstract' : 'the abstract',
'ownTerm' : 'own term',
Expand Down

0 comments on commit 30ef181

Please sign in to comment.