made main file path dynamic and independent to virtual environment setting

This commit is contained in:
navjot 2021-03-11 13:28:11 +05:30
parent 35243cc08c
commit 9ff2e4a605
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C

View File

@ -40,7 +40,7 @@ def set_temp_data():
class TeleniumTestProcess(TeleniumTestCase):
"""Setting Screen Functionality Testing"""
cmd_entrypoint = ['/home/cis/py3porting/Chatroom/PyBitmessage/src/main_mock_test.py']
cmd_entrypoint = [os.path.join(os.path.abspath(os.getcwd()), 'main_mock_test.py')]
@classmethod
def setUpClass(cls):