[Concept] [PATCH 6/9] test/py: Create a new function for EFI capsule updates