Skip to content

Commit 75738ab

Browse files
committed
Last tweak
1 parent ba608a3 commit 75738ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_odm2/test_readservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_getRelatedModelsByCode(self):
186186

187187
# test invalid argument
188188
resapi = self.reader.getRelatedModels(code = 234123)
189-
assert resapi is []
189+
assert resapi == []
190190
# MySQL is very relaxed about this,
191191
# should be `resapi is None` if PostgreSQL,
192192
# because code type is not string

0 commit comments

Comments
 (0)