Title: #680: pytest: Add test case for Expired sudo rule
I'm sorry for the very long delay. Except for the extra import, I don't have any
more comments. I'll leave it up to you whether you want to remove the import and
resubmit or if you prefer I do it before pushing. Anyway, I'll push the patches later
today to avoid blocking CI for development.
See the full comment at https://github.com/SSSD/sssd/pull/680#issuecomment-440947866