Refactor transparencyscript into helper functions, Add tests for transparencyscript and helper functions

RESOLVED FIXED

Status

Release Engineering
Release Automation
P1
normal
RESOLVED FIXED
7 months ago
7 months ago

People

(Reporter: btang, Assigned: btang)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 months ago
Create tests using pytest, and mock to avoid network testing.
(Assignee)

Comment 1

7 months ago
Done:
- Refactored transparencyscript into helper functions to make script more compact
  - get_config_vars --> +get_task_vars, +get_transparency_vars
  - get_summary --> get_tree_head
  - get_command functions
- Added tests for helper functions in utils.py

Repository Link: https://github.com/BrandonTang/binary-transparency
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.