adjust path to register script for pip installation

This commit is contained in:
Bruno Windels 2019-06-24 15:00:51 +02:00
parent 26f9dd071a
commit d9def18184
2 changed files with 4 additions and 4 deletions

View file

@ -59,10 +59,10 @@ module.exports = class RestSessionCreator {
'--no-admin',
this.hsUrl
];
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
const registerCmd = `./register_new_matrix_user ${registerArgs.join(' ')}`;
const allCmds = [
`cd ${this.synapseSubdir}`,
". env/bin/activate",
". activate",
registerCmd
].join(' && ');

View file

@ -52,7 +52,7 @@ async function runTests() {
}
const restCreator = new RestSessionCreator(
'synapse/installations/consent',
'synapse/installations/consent/env/bin',
hsUrl,
__dirname
);