We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba608a3 commit 75738abCopy full SHA for 75738ab
1 file changed
tests/test_odm2/test_readservice.py
@@ -186,7 +186,7 @@ def test_getRelatedModelsByCode(self):
186
187
# test invalid argument
188
resapi = self.reader.getRelatedModels(code = 234123)
189
- assert resapi is []
+ assert resapi == []
190
# MySQL is very relaxed about this,
191
# should be `resapi is None` if PostgreSQL,
192
# because code type is not string
0 commit comments