Skip to content

Commit 155fcaf

Browse files
committed
Fixing test_base.py
1 parent e7bd53a commit 155fcaf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qiita_db/test/test_base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from qiita_db.base import QiitaObject, QiitaStatusObject
1414
from qiita_db.exceptions import QiitaDBUnknownIDError
1515
from qiita_db.data import RawData
16-
from qiita_db.study import Study
16+
from qiita_db.study import Study, StudyPerson
1717
from qiita_db.analysis import Analysis
1818

1919

@@ -63,8 +63,9 @@ def test_equal(self):
6363

6464
def test_not_equal(self):
6565
"""Not equals works with object of the same type"""
66-
new = RawData(2)
67-
self.assertNotEqual(self.tester, new)
66+
sp1 = StudyPerson(1)
67+
sp2 = StudyPerson(2)
68+
self.assertNotEqual(sp1, sp2)
6869

6970
def test_not_equal_type(self):
7071
"""Not equals works with object of different type"""

0 commit comments

Comments
 (0)