Update git submodules
* Update horizon from branch 'master'
to a0dd4d738cf6587e59f315b2ec60bde63c9b05ca
- Support Django 3.0 and 3.1 support (3)
The result of the encoded (i.e., escaped) text in HTML changed
between Django pre-3.0 and 3.0+. For example, decimal and hex encoding
are semantically same but they are different in literal texts.
While I don't know what triggers this change, I think it makes sense
to compare these texts after decoding as HTML.
Considering this, html=True is passed to self.assertContains().
When passing html=True, a text in an HTML element is not compared
partially and a full text as a value of the HTML element is compared,
so we need to pass the full text of an HTML element value now.
I believe the above change is caused by the change that django.test.html.Parser
is initialized with convert_charrefs=False previously. On the other hand,
it is not specified now in Django 3.0+ [1]. This leads to the situation that
escapes on unicode characters are handled differently.
[1] 48235ba807
Change-Id: I0f26436eb384a95f8446d8fd447c9577d50a5c21
This commit is contained in:
parent
6d3534cc53
commit
7a25fe22a1
2
horizon
2
horizon
|
@ -1 +1 @@
|
|||
Subproject commit be12ce1e96e3d2581f1c21d38881a0cf54102e2d
|
||||
Subproject commit a0dd4d738cf6587e59f315b2ec60bde63c9b05ca
|
Loading…
Reference in New Issue