You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This build broke, not because of the change, but because of a timing issue.
The tests don’t mock out the send() method, so there’s an assumption that the send() will take place in the same second as the expected request is constructed. That’s fragile, so it will break some times, like here.
We probably don’t want to mock send(), because that will change what the tests are testing too much. It might be simplest to mock time.time() itself.
The text was updated successfully, but these errors were encountered:
This build broke, not because of the change, but because of a timing issue.
The tests don’t mock out the
send()
method, so there’s an assumption that the send() will take place in the same second as the expected request is constructed. That’s fragile, so it will break some times, like here.We probably don’t want to mock send(), because that will change what the tests are testing too much. It might be simplest to mock time.time() itself.
The text was updated successfully, but these errors were encountered: