Skip to content

Commit 4951fb5

Browse files
committed
Add tests for OpenScanHub Koji integration
Signed-off-by: Siteshwar Vashisht <[email protected]>
1 parent a07361f commit 4951fb5

File tree

2 files changed

+390
-2
lines changed

2 files changed

+390
-2
lines changed

packit_service/events/openscanhub/abstract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ def __init__(
4242
" and should have been associated with the copr build.",
4343
)
4444
return
45-
45+
4646
# TODO: How to handle koji builds here?
4747
if hasattr(self.scan, "copr_build_target"):
4848
self.build = self.scan.copr_build_target
4949
else:
5050
self.build = self.scan.koji_build_target
51-
51+
5252
if not self.build:
5353
logger.warning(
5454
f"Scan with id {task_id} not associated with a build."

0 commit comments

Comments
 (0)