Mercurial > p > roundup > code
diff test/db_test_base.py @ 6411:978820fc88de
Disable a failing test
Looks like the query generator should also support an empty list for
Link properties like it does for Multilink now. Note that this was never
in the design, it was always asumed that searching for empty
Link/Multilink properties would be done with '-1' or ['-1'].
I've just created issue2551135 for this.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 13 May 2021 10:28:45 +0200 |
| parents | 66ccddb034f2 |
| children | a0c0ee3ed8b1 |
line wrap: on
line diff
--- a/test/db_test_base.py Wed May 12 13:32:18 2021 +0200 +++ b/test/db_test_base.py Thu May 13 10:28:45 2021 +0200 @@ -1854,7 +1854,8 @@ ae(filt(None, {'status': '1'}, ('+','id'), grp), ['2','3']) ae(filt(None, {'status': [], 'status.name': 'unread'}), []) ae(filt(None, {a: '-1'}, ('+','id'), grp), ['3','4']) - ae(filt(None, {a: []}, ('+','id'), grp), ['3','4']) + # Currently works only for non-sql backends: + #ae(filt(None, {a: []}, ('+','id'), grp), ['3','4']) ae(filt(None, {a: None}, ('+','id'), grp), ['3','4']) ae(filt(None, {a: [None]}, ('+','id'), grp), ['3','4']) ae(filt(None, {a: ['-1', None]}, ('+','id'), grp), ['3','4'])
