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.
Loading
Please register or sign in to comment