Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

TODO: Include time override checks in unit tests in Primary and Secondary #176

Open
2 tasks
awwad opened this issue Mar 12, 2019 · 0 comments
Open
2 tasks

Comments

@awwad
Copy link
Contributor

awwad commented Mar 12, 2019

Given the merge of upTUF PR 22, some adjustments to testing are merited. While this code is all covered via higher-level functions, there are more specific tests that should be added:

  • In test_primary and test_secondary, for the unit tests for each module's validate_time_attestation() function, check that the TUF time override has been updated appropriately. Pause a few seconds and make sure the time remains the same (TUF time override).
  • In the unit tests for Primary.primary_update_cycle() (and possibly the Secondary equivalent), make sure that override times get updated appropriately.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant