Allow timestamp to be set for comment models in test cases
Review Request #12394 — Created June 21, 2022 and submitted — Latest diff uploaded
The create methods for comments in
reviewboard.testing.TestCasedoes not
properly set the timestamp when atimestampargument is passed. This is
because the timestamp is being overriden when when the comment object is saved.
This change allowsreviewboard.testing.TestCaseto properly set the timestamp
when atimestampargument is passed.
Ran all unit tests in
reviewboard.webapi.tests, which make use of the create
comment methods.