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
{{ message }}
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
In test_init.py::test_wait_for_pending_done has a check_pending Mock() call that sets a return value, which is unneeded as that fails with Exceptions.
It would also be nice to mimic that a little better.
Adding: self.watcher_obj.pj = [(1, 2, 3)]
makes it correctly hang. Is there an easy way to Mock removal of those 'pj' ids? Such that 60 seconds later, check_pending succeeds? (mocking turning sleep from 60 seconds to 1 second would be nice too).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In
test_init.py::test_wait_for_pending_done
has a check_pendingMock()
call that sets a return value, which is unneeded as that fails with Exceptions.It would also be nice to mimic that a little better.
Adding:
self.watcher_obj.pj = [(1, 2, 3)]
makes it correctly hang. Is there an easy way to Mock removal of those 'pj' ids? Such that 60 seconds later, check_pending succeeds? (mocking turning sleep from 60 seconds to 1 second would be nice too).
The text was updated successfully, but these errors were encountered: