New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 687229 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Need a recipe-compliant time module.

Project Member Reported by robert...@chromium.org, Jan 31 2017

Issue description

We need a recipe that chooses a code path based on the age of the current checkout. We can do this with the whitelisted datetime module, but having code that is not covered by recipe-simulation-test is not ideal.

Could we have a module that takes test_step_data and so on?

At least, it should be able to mock the current time and calculate a time delta based on two unix timestamps or time/datetime objects.
 
Status: WontFix (was: Untriaged)
Closing this as there seems to already be one under recipe_engine/time

Sign in to add a comment