Ensure django.contrib.auth.middleware monkey patching for APIMockTestCase
This patch is directly proposed to stable/rocky.
A cherry-pick of I6b2be31568e4aa4273990f9cfa76ca139620c84b
to stable/rocky is insufficient. The cherry-pick forgot to
handle APIMockTestCase as the corresponding code is different
between the master branch and stable/rocky branches and
as a result APIMockTestCase in stable/rocky branch does not
monkey-patch django.contrib.auth.middleware.
Reviewed: https:/ /review. openstack. org/633753 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=527553752a2 a927ea0f505bd7f 977e33fa7b6790
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 527553752a2a927 ea0f505bd7f977e 33fa7b6790
Author: Akihiro Motoki <email address hidden>
Date: Tue Jan 29 23:51:37 2019 +0900
Ensure django. contrib. auth.middleware monkey patching for APIMockTestCase
This patch is directly proposed to stable/rocky.
A cherry-pick of I6b2be31568e4aa 4273990f9cfa76c a139620c84b contrib. auth.middleware .
to stable/rocky is insufficient. The cherry-pick forgot to
handle APIMockTestCase as the corresponding code is different
between the master branch and stable/rocky branches and
as a result APIMockTestCase in stable/rocky branch does not
monkey-patch django.
Related-Bug: #1806053 6df64b6d96acddf 15be0cc331c
Change-Id: I4993ff5006b636