mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-07 07:48:25 -04:00
Use direct references for configuration variables (part 5). (#10897)
This commit is contained in:
parent
85551b7a85
commit
bb7fdd821b
48 changed files with 128 additions and 113 deletions
|
@ -53,7 +53,7 @@ class MediaStorageTests(unittest.HomeserverTestCase):
|
|||
self.primary_base_path = os.path.join(self.test_dir, "primary")
|
||||
self.secondary_base_path = os.path.join(self.test_dir, "secondary")
|
||||
|
||||
hs.config.media_store_path = self.primary_base_path
|
||||
hs.config.media.media_store_path = self.primary_base_path
|
||||
|
||||
storage_providers = [FileStorageProviderBackend(hs, self.secondary_base_path)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue