pytest-locker (pypi):  Used to lock object during testing. Essentially changing assertions from being hard coded to asserting that nothing changed 
Keywords: pytest|pytest-fixtures|python|testing