diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-18 17:37:19 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-18 17:37:19 +0000 |
commit | 142f1263f6293bc6ad707ebe20b75d680774c962 (patch) | |
tree | 0e8537e5dfb49960d02a0e500d76706f8b355f89 /tests/utils.py | |
parent | Bump matrix-angular-sdk version (diff) | |
parent | Conform to header spec take two (diff) | |
download | synapse-142f1263f6293bc6ad707ebe20b75d680774c962.tar.xz |
Merge pull request #82 from matrix-org/git_tag_version
Git tag version
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 39895c739f..110b9f86b8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -46,10 +46,16 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs): if datastore is None: db_pool = SQLiteMemoryDbPool() yield db_pool.prepare() - hs = HomeServer(name, db_pool=db_pool, config=config, **kargs) + hs = HomeServer( + name, db_pool=db_pool, config=config, + version_string="Synapse/tests", + **kargs + ) else: hs = HomeServer( - name, db_pool=None, datastore=datastore, config=config, **kargs + name, db_pool=None, datastore=datastore, config=config, + version_string="Synapse/tests", + **kargs ) defer.returnValue(hs) |