Mercurial > libervia-backend
comparison tests/e2e/conftest.py @ 3437:42d6d00e4e8a
tests (e2e/conftest): create a test account on server3.test
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Dec 2020 12:35:00 +0100 |
parents | f9011d62a87a |
children | 53da72a17139 |
comparison
equal
deleted
inserted
replaced
3436:f9011d62a87a | 3437:42d6d00e4e8a |
---|---|
146 profiles = [] | 146 profiles = [] |
147 nb_servers = 3 | 147 nb_servers = 3 |
148 accounts_by_servers = { | 148 accounts_by_servers = { |
149 1: 1, | 149 1: 1, |
150 2: 1, | 150 2: 1, |
151 3: 0, | 151 3: 1, |
152 } | 152 } |
153 for server_idx in range(1, nb_servers+1): | 153 for server_idx in range(1, nb_servers+1): |
154 account_stop = accounts_by_servers[server_idx] + 1 | 154 account_stop = accounts_by_servers[server_idx] + 1 |
155 for account_idx in range(1, account_stop): | 155 for account_idx in range(1, account_stop): |
156 profile_suff = f"_s{server_idx}" if server_idx>1 else "" | 156 profile_suff = f"_s{server_idx}" if server_idx>1 else "" |