]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
whitespace
authorDiana Clarke <diana.joan.clarke@gmail.com>
Sat, 30 Mar 2013 05:39:40 +0000 (01:39 -0400)
committerDiana Clarke <diana.joan.clarke@gmail.com>
Sat, 30 Mar 2013 05:39:40 +0000 (01:39 -0400)
test/sql/test_update.py

index 607666e9906482428d3bb34b85bf506d403efad9..a8df86cd2186bd0e8b0d6c955d5d9f81f7fe714b 100644 (file)
@@ -97,7 +97,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
         table1 = self.tables.mytable
 
         self.assert_compile(
-            update(table1, 
+            update(table1,
                 whereclause=table1.c.name == bindparam('crit'),
                 values={table1.c.name: 'hi'}),
             'UPDATE mytable SET name=:name WHERE mytable.name = :crit',
@@ -119,7 +119,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
 
     def test_update_7(self):
         table1 = self.tables.mytable
+
         self.assert_compile(
             update(table1, table1.c.myid == 12, values={table1.c.myid: 9}),
             'UPDATE mytable '
@@ -165,7 +165,7 @@ class UpdateTest(_UpdateFromTestBase, fixtures.TablesTest, AssertsCompiledSQL):
         }
         self.assert_compile(update(table1,
             (table1.c.myid == func.hoho(4)) &
-            (table1.c.name == literal('foo') + 
+            (table1.c.name == literal('foo') +
              table1.c.name + literal('lala')),
             values=values),
             'UPDATE mytable '