From f6d4e8d413919b6a5e54f9411180af92d48bdd0a Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Mon, 23 Apr 2018 18:41:25 +0300 Subject: [PATCH] return GH to original --- test/end-to-end/pages/thirdparty/github.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/end-to-end/pages/thirdparty/github.py b/test/end-to-end/pages/thirdparty/github.py index e44d9b7..5bcc0ab 100644 --- a/test/end-to-end/pages/thirdparty/github.py +++ b/test/end-to-end/pages/thirdparty/github.py @@ -297,11 +297,12 @@ class GithubPage(BasePageObject): repo = git.Repo(self.local_repo_path) logging.info(repo.git.status()) logging.info(repo.git.pull('upstream', 'master')) - repo_url = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_username'], - test_data.config['DEV']['gh_password'], test_data.config['DEV']['gh_username'], test_data.config['ORG']['gh_repo_name']) - - logging.info('Pushing to %s' % repo_url) - logging.info(repo.git.push(repo_url)) + # repo_url = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_username'], + # test_data.config['DEV']['gh_password'], test_data.config['DEV']['gh_username'], test_data.config['ORG']['gh_repo_name']) + # + # logging.info('Pushing to %s' % repo_url) + # logging.info(repo.git.push(repo_url)) + logging.info(repo.git.push('origin', 'master')) logging.info(repo.git.fetch('--all')) repo.git.checkout('-b', branch) file = open(os.path.join(self.local_repo_path, file_to_modify), 'w')