Browse Source

Calendar tests: fix for mysql

Bastien Sevajol (Algoo) 8 years ago
parent
commit
2a635d376d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/tests/functional/test_calendar.py

+ 1 - 1
tracim/tracim/tests/functional/test_calendar.py View File

@@ -206,7 +206,7 @@ END:VCALENDAR
206 206
         daemons.execute_in_thread('radicale', lambda: transaction.commit())
207 207
         # TODO - 20160606 - Bastien: lock should be better here ?
208 208
         time.sleep(3)  # Wait for be sure transaction commited in daemon
209
-
209
+        transaction.commit()
210 210
         try:
211 211
             event = DBSession.query(Content).filter(
212 212
                 Content.label == 'This is an event'