]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- fix test warning here (oursql)
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Oct 2013 14:34:03 +0000 (10:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Oct 2013 14:34:03 +0000 (10:34 -0400)
test/orm/test_unitofwork.py

index 67a11e3662ddeab04ae80b328facaecd4a5d16bf..386280a503645e18ae5ad003266f6e42113a5290 100644 (file)
@@ -876,10 +876,10 @@ class DefaultTest(fixtures.MappedTest):
         self.sql_count_(0, lambda: eq_(h1.hoho, hohoval))
 
         # no actual eager defaults, make sure error isn't raised
-        h2 = Hoho(hoho='fas', counter=5)
+        h2 = Hoho(hoho=hohoval, counter=5)
         session.add(h2)
         session.flush()
-        eq_(h2.hoho, 'fas')
+        eq_(h2.hoho, hohoval)
         eq_(h2.counter, 5)