Use the same key for this that we used to use.

This commit is contained in:
Ralph Bean
2016-12-15 13:54:34 -05:00
committed by Matt Prahl
parent 908f440357
commit 5c3d46595a
3 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ class TestConfiguration(BaseConfiguration):
SQLALCHEMY_DATABASE_URI = 'sqlite:///{0}'.format(
path.join(dbdir, 'tests', 'test_module_build_service.db'))
DEBUG = True
MESSAGING = 'memory'
MESSAGING = 'in_memory'
# Global network-related values, in seconds
NET_TIMEOUT = 3

View File

@@ -344,7 +344,7 @@ class Config(object):
def _setifok_messaging(self, s):
s = str(s)
if s not in ("fedmsg", "amq", "memory"):
if s not in ("fedmsg", "amq", "in_memory"):
raise ValueError("Unsupported messaging system.")
self.messaging = s

View File

@@ -344,7 +344,7 @@ _messaging_backends = {
'amq': {
'publish': _amq_publish,
},
'memory': {
'in_memory': {
'publish': _in_memory_publish,
}
}