diff --git a/test/end-to-end/pages/thirdparty/github.py b/test/end-to-end/pages/thirdparty/github.py index 4ad6c20..c9bb4cc 100644 --- a/test/end-to-end/pages/thirdparty/github.py +++ b/test/end-to-end/pages/thirdparty/github.py @@ -282,8 +282,7 @@ class GithubPage(BasePageObject): os.mkdir(repo_folder) os.chdir(repo_folder) self.local_repo_path = os.getcwd() - - fork = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_login'], + fork = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_username'], test_data.config['DEV']['gh_password'], username, repo_name) logging.info(('Cloning from %s to %s' % (fork, self.local_repo_path))) repo = git.Repo.clone_from(fork, self.local_repo_path) diff --git a/test/end-to-end/pytest.ini b/test/end-to-end/pytest.ini index 1964f28..2b5bd9c 100644 --- a/test/end-to-end/pytest.ini +++ b/test/end-to-end/pytest.ini @@ -1,3 +1,3 @@ [pytest] norecursedirs = .git pages -addopts = -s -v --junitxml=results/result.xml --tb=short +addopts = -s -v --junitxml=results/result.xml --tb=short --env=local