Page MenuHomePhabricator

tests: replaced mockmakedate function in test-amend.t

Authored by taapas1128 on Jan 13 2019, 7:29 AM.



This is a follow up patch for D5554. This replaces mockmakedate function by tests/

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

taapas1128 created this revision.Jan 13 2019, 7:29 AM
taapas1128 edited the summary of this revision. (Show Details)Jan 13 2019, 7:31 AM

@yuja please review this.

This revision was automatically updated to reflect the committed changes.

@taapas1128 You can also set the option devel.default-date that should do the trick

This comment was removed by taapas1128.

@lothiraldan I am not sure but my aim is to supply mock values to dateutil.makedate() everytime is it called but I will go through what devel.default-date does .