[WIP] JIT Static Hooks: python tests (#49546)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49546
Test Plan: Imported from OSS
Reviewed By: heitorschueroff
Differential Revision: D25771119
Pulled By: Lilyjjo
fbshipit-source-id: bf8a8e20f790691d3ff58fa9c8d0d9ab3e8322c4