Fix copy&paste errors
@@ -203,8 +203,8 @@ class CIManagerTest(unittest.TestCase):
"GITHUB_EVENT_NAME": "push"}
with tools.environment_append(gha_env):
manager = CIManager(self.printer)
- self.assertEquals(manager.get_branch(), shippable_env["GITHUB_REF"])
- self.assertEquals(manager.get_commit_id(), shippable_env["GITHUB_SHA"])
+ self.assertEquals(manager.get_branch(), gha_env["GITHUB_REF"])
+ self.assertEquals(manager.get_commit_id(), gha_env["GITHUB_SHA"])
self.assertEquals(manager.is_pull_request(), False)
gha_env = {"GITHUB_ACTIONS": "true",
@@ -214,8 +214,8 @@ class CIManagerTest(unittest.TestCase):
"GITHUB_EVENT_NAME": "pull_request"}
with tools.environment_append(gha_env):
manager = CIManager(self.printer)
- self.assertEquals(manager.get_branch(), shippable_env["GITHUB_BASE_REF"])
- self.assertEquals(manager.get_commit_id(), shippable_env["GITHUB_SHA"])
+ self.assertEquals(manager.get_branch(), gha_env["GITHUB_BASE_REF"])
+ self.assertEquals(manager.get_commit_id(), gha_env["GITHUB_SHA"])
self.assertEquals(manager.is_pull_request(), True)
def test_build_policy(self):
