def test_pr_builds(self): self.init_pr_directory() org, repo = view_pr.org_repo('', app.app.config['default_org'], app.app.config['default_repo'], ) builds = view_pr.pr_builds(view_pr.pr_path(org, repo, '123', app.app.config['default_repo'], app.app.config['default_repo'], app.app.config['default_external_services']['gcs_pull_prefix'], )) self.assertEqual(builds, self.BUILDS)
def test_pr_builds(self): self.init_pr_directory() builds = view_pr.pr_builds('123') self.assertEqual(builds, self.BUILDS)
def test_pr_builds(self): self.init_pr_directory() org, repo = view_pr.org_repo('') builds = view_pr.pr_builds(view_pr.pr_path(org, repo, '123')) self.assertEqual(builds, self.BUILDS)