The test was never run, because it was missing the TestCase class. The test failed because the wrong attribute was patched. (cherry picked from commit 834bd5dd76) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
834bd5dd76