Resolve "Rewrite all tests to use pytest"
Description
[Describe changes/solution; problem description should be in issue]
Notes to review (code/docs/QA)
Related issues
Closes #2274 (closed)
[Describe changes/solution; problem description should be in issue]
Closes #2274 (closed)