aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/build_specified_commit_test.py
diff options
context:
space:
mode:
authorGravatar Leo Neat <leosneat@gmail.com>2020-02-06 15:35:42 -0800
committerGravatar GitHub <noreply@github.com>2020-02-06 15:35:42 -0800
commitb96d2186aec635d2724f4a5b2d428732e37bede8 (patch)
tree7d7c50374d004435be116b39a17400465bdcd97d /infra/build_specified_commit_test.py
parent460661c700810265e25dd7140697463c4cd3dfcf (diff)
[CIFuzz] Go support (#3352)
* Add go support to detecting the main repo * Go support test update * Format * Format * Removing debug statment * Format
Diffstat (limited to 'infra/build_specified_commit_test.py')
-rw-r--r--infra/build_specified_commit_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/build_specified_commit_test.py b/infra/build_specified_commit_test.py
index 13ca7b6e..9fdaae47 100644
--- a/infra/build_specified_commit_test.py
+++ b/infra/build_specified_commit_test.py
@@ -88,8 +88,9 @@ class BuildImageIntegrationTests(unittest.TestCase):
repo_origin, repo_name = build_specified_commit.detect_main_repo(
example_repo.project_name, repo_name=example_repo.git_repo_name)
self.assertEqual(repo_origin, example_repo.git_url)
- self.assertEqual(repo_name,
- os.path.join('/src', example_repo.oss_repo_name))
+ self.assertEqual(
+ repo_name,
+ os.path.join(example_repo.image_location, example_repo.oss_repo_name))
repo_origin, repo_name = build_specified_commit.detect_main_repo(
test_repos.INVALID_REPO.project_name,