Skip to content
Snippets Groups Projects
Commit 51198415 authored by Georges Racinet's avatar Georges Racinet
Browse files

testhelpers: commit user and date

Passing the `username` with `ui.config` just does not
work because of the cascade of defaulting in context instantiation.
It's simpler to just make a new kwarg out of it, and one more
occasion to make life simpler by accepting plain `str`.
Name for the `user` kwarg is in accordance with the method on the
resulting changectx.

The `utc_timestamp` is named to be very specific. In tests we should
not need to worry with anything more complicated. This would probably
not be acceptable for a general purpose library.
parent 37a9215d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment