mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-20 13:18:22 +00:00
2 attempt to fix git Fatal: Could not read Username for "https://github.com"
This commit is contained in:
parent
705127ed84
commit
352002695c
3
test/end-to-end/pages/thirdparty/github.py
vendored
3
test/end-to-end/pages/thirdparty/github.py
vendored
@ -282,8 +282,7 @@ class GithubPage(BasePageObject):
|
|||||||
os.mkdir(repo_folder)
|
os.mkdir(repo_folder)
|
||||||
os.chdir(repo_folder)
|
os.chdir(repo_folder)
|
||||||
self.local_repo_path = os.getcwd()
|
self.local_repo_path = os.getcwd()
|
||||||
|
fork = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_username'],
|
||||||
fork = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_login'],
|
|
||||||
test_data.config['DEV']['gh_password'], username, repo_name)
|
test_data.config['DEV']['gh_password'], username, repo_name)
|
||||||
logging.info(('Cloning from %s to %s' % (fork, self.local_repo_path)))
|
logging.info(('Cloning from %s to %s' % (fork, self.local_repo_path)))
|
||||||
repo = git.Repo.clone_from(fork, self.local_repo_path)
|
repo = git.Repo.clone_from(fork, self.local_repo_path)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
norecursedirs = .git pages
|
norecursedirs = .git pages
|
||||||
addopts = -s -v --junitxml=results/result.xml --tb=short
|
addopts = -s -v --junitxml=results/result.xml --tb=short --env=local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user