Page MenuHomePhabricator

tests: replaced mockmakedate function in test-amend.t
ClosedPublic

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

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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 .