[POS-commit] r5331 - stoqlib/trunk/tests/sync

Johan Dahlin jdahlin at async.com.br
Fri Nov 10 13:24:03 BRST 2006


Author: jdahlin
Date: Fri Nov 10 13:24:03 2006
New Revision: 5331

Modified:
   stoqlib/trunk/tests/sync/test_sync.py

Log:
oops, check so it's really present in the shop instead of the office

Modified: stoqlib/trunk/tests/sync/test_sync.py
==============================================================================
--- stoqlib/trunk/tests/sync/test_sync.py	(original)
+++ stoqlib/trunk/tests/sync/test_sync.py	Fri Nov 10 13:24:03 2006
@@ -93,8 +93,8 @@
                                             connection=conn))
 
         # Shop
-        conn = get_connection()
         self.switch_to_shop()
+        conn = get_connection()
         self.failUnless(Person.selectOneBy(name="Person 4",
                                            connection=conn))
         self.failUnless(Person.iselectOneBy(IIndividual, occupation="Working",


More information about the POS-commit mailing list