Skip to content

Commit

Permalink
Tests: Workaround sqlite bug
Browse files Browse the repository at this point in the history
It is still present on xenial

See travis-ci/travis-ci#7873

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Sep 24, 2019
1 parent 11eeee3 commit 31dc53f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions weblate/settings_test.py
Expand Up @@ -53,6 +53,10 @@
else:
DATABASES['default']['ENGINE'] = 'django.db.backends.sqlite3'
DATABASES['default']['NAME'] = 'weblate.db'
# Workaround for
# https://github.com/travis-ci/travis-ci/issues/7873
DATABASES['default']['TEST'] = {'NAME': 'weblate_test.db'}


# Configure admins
ADMINS = (('Weblate test', 'noreply@weblate.org'), )
Expand Down

0 comments on commit 31dc53f

Please sign in to comment.