File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ def test_url_router(self):
628
628
path .get_attribute ("data-path" ),
629
629
)
630
630
string = new_page .query_selector ("#router-string" )
631
- self .assertEquals ("Path 12" , string .text_content ())
631
+ self .assertEqual ("Path 12" , string .text_content ())
632
632
633
633
finally :
634
634
new_page .close ()
Original file line number Diff line number Diff line change @@ -99,25 +99,25 @@ def test_comment_regex(self):
99
99
self .assertNotRegex (r'{% component "my.component" %}' , COMMENT_REGEX )
100
100
101
101
# Components surrounded by comments
102
- self .assertEquals (
102
+ self .assertEqual (
103
103
COMMENT_REGEX .sub (
104
104
"" , r'{% component "my.component" %} <!-- comment -->'
105
105
).strip (),
106
106
'{% component "my.component" %}' ,
107
107
)
108
- self .assertEquals (
108
+ self .assertEqual (
109
109
COMMENT_REGEX .sub (
110
110
"" , r'<!-- comment --> {% component "my.component" %}'
111
111
).strip (),
112
112
'{% component "my.component" %}' ,
113
113
)
114
- self .assertEquals (
114
+ self .assertEqual (
115
115
COMMENT_REGEX .sub (
116
116
"" , r'<!-- comment --> {% component "my.component" %} <!-- comment -->'
117
117
).strip (),
118
118
'{% component "my.component" %}' ,
119
119
)
120
- self .assertEquals (
120
+ self .assertEqual (
121
121
COMMENT_REGEX .sub (
122
122
"" ,
123
123
r"""<!-- comment
@@ -130,11 +130,11 @@ def test_comment_regex(self):
130
130
)
131
131
132
132
# Components surrounded by comments
133
- self .assertEquals (
133
+ self .assertEqual (
134
134
COMMENT_REGEX .sub ("" , r'<!-- {% component "my.component" %} -->' ),
135
135
"" ,
136
136
)
137
- self .assertEquals (
137
+ self .assertEqual (
138
138
COMMENT_REGEX .sub (
139
139
"" ,
140
140
r"""<!--
You can’t perform that action at this time.
0 commit comments