Fix UPSERTs on SQLite 3.24+ (#4477)

This commit is contained in:
Amber Brown 2019-01-28 15:43:32 +00:00 committed by GitHub
parent 88f4df85ca
commit 7072fe3084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 18 deletions

View file

@ -18,12 +18,12 @@ from twisted.internet import defer
from synapse.api.constants import UserTypes
from tests.unittest import HomeserverTestCase
from tests import unittest
FORTY_DAYS = 40 * 24 * 60 * 60
class MonthlyActiveUsersTestCase(HomeserverTestCase):
class MonthlyActiveUsersTestCase(unittest.HomeserverTestCase):
def make_homeserver(self, reactor, clock):
hs = self.setup_test_homeserver()