From: Mike Bayer Date: Sat, 8 Sep 2007 20:13:54 +0000 (+0000) Subject: added assertion case for [ticket:764] X-Git-Tag: rel_0_4beta6~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ba8a25afe9c4b84b74d5e51a641992b5d44097a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git added assertion case for [ticket:764] --- diff --git a/test/sql/select.py b/test/sql/select.py index f0af7e238a..6a81310460 100644 --- a/test/sql/select.py +++ b/test/sql/select.py @@ -945,6 +945,9 @@ EXISTS (select yay from foo where boo = lar)", self.assert_compile(select([table1], table1.c.myid.in_('a')), "SELECT mytable.myid, mytable.name, mytable.description FROM mytable WHERE mytable.myid = :mytable_myid") + self.assert_compile(select([table1], ~table1.c.myid.in_('a')), + "SELECT mytable.myid, mytable.name, mytable.description FROM mytable WHERE mytable.myid != :mytable_myid") + self.assert_compile(select([table1], table1.c.myid.in_('a', 'b')), "SELECT mytable.myid, mytable.name, mytable.description FROM mytable WHERE mytable.myid IN (:mytable_myid, :mytable_myid_1)")