Compare commits

...

2 Commits

Author SHA1 Message Date
Andrew Morgan
c6f784ee4c changelog 2022-08-04 15:34:21 +01:00
Andrew Morgan
ba57e17f02 Allow the simple_upsert database unit test case to run
Test cases won't be picked up by trial unless the class name ends in TestCase :)
2022-08-04 15:31:14 +01:00
2 changed files with 2 additions and 1 deletions

1
changelog.d/13458.misc Normal file
View File

@@ -0,0 +1 @@
Make the unit tests responsible for testing the `simple_update` storage method run in CI.

View File

@@ -24,7 +24,7 @@ from synapse.util import Clock
from tests import unittest
class UpdateUpsertManyTests(unittest.HomeserverTestCase):
class UpdateUpsertManyTestCase(unittest.HomeserverTestCase):
def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None:
self.storage = hs.get_datastores().main