We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7bd53a commit 155fcafCopy full SHA for 155fcaf
qiita_db/test/test_base.py
@@ -13,7 +13,7 @@
13
from qiita_db.base import QiitaObject, QiitaStatusObject
14
from qiita_db.exceptions import QiitaDBUnknownIDError
15
from qiita_db.data import RawData
16
-from qiita_db.study import Study
+from qiita_db.study import Study, StudyPerson
17
from qiita_db.analysis import Analysis
18
19
@@ -63,8 +63,9 @@ def test_equal(self):
63
64
def test_not_equal(self):
65
"""Not equals works with object of the same type"""
66
- new = RawData(2)
67
- self.assertNotEqual(self.tester, new)
+ sp1 = StudyPerson(1)
+ sp2 = StudyPerson(2)
68
+ self.assertNotEqual(sp1, sp2)
69
70
def test_not_equal_type(self):
71
"""Not equals works with object of different type"""
0 commit comments