e2e: fixed missing geth

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2022-02-02 15:42:50 +01:00
parent 9fb81c3894
commit 3745a8e2fe
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 5 additions and 3 deletions

View File

@ -110,9 +110,11 @@ class AbstractTestCase:
@property @property
def app_path(self): def app_path(self):
app_path = '/storage/emulated/0/Android/data/im.status.ethereum.pr/files/Download/' if findall(r'pr\d\d\d\d\d', app_folder = 'im.status.ethereum'
pytest_config_global[ apk = pytest_config_global['apk']
'apk']) else '/storage/emulated/0/Android/data/im.status.ethereum/files/Download/' if findall(r'pr\d\d\d\d\d', apk) or findall(r'\d\d\d\d\d.apk', apk):
app_folder += '.pr'
app_path = '/storage/emulated/0/Android/data/%s/files/Download/' % app_folder
return app_path return app_path
@property @property