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