Browse Source

Calendar tests: fix for mysql

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