Closed Bug 1374470 Opened 7 years ago Closed 7 years ago

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

Categories

(Release Engineering :: Release Automation: Other, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: btang, Assigned: btang)

References

Details

Create tests using pytest, and mock to avoid network testing.
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
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.