Explorar o código

[dekstop] Make sure test runner DB options are Python2 compatible

Romain Rigaux %!s(int64=4) %!d(string=hai) anos
pai
achega
a08d1b0271
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/tests.py

+ 1 - 1
desktop/core/src/desktop/tests.py

@@ -1498,7 +1498,7 @@ def test_db_migrations_sqlite():
       'PASSWORD': '',
       'HOST': '',
       'PORT': '',
-      'OPTIONS': {},
+      'OPTIONS': {} if sys.version_info[0] > 2 else '',
       'ATOMIC_REQUESTS': True,
       'CONN_MAX_AGE': 0,
     }