File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def _test_view(request):
147
147
panel .process_request (request )
148
148
panel .process_view (request , _test_view , [], {})
149
149
content = panel .content ()
150
- self .assertIn ('tests.tests._test_view' , content )
150
+ self .assertTrue ('tests.tests._test_view' in content , content )
151
151
152
152
def test_without_process_view (self ):
153
153
request = self .request
@@ -156,7 +156,7 @@ def test_without_process_view(self):
156
156
panel = self .toolbar .get_panel (RequestVarsDebugPanel )
157
157
panel .process_request (request )
158
158
content = panel .content ()
159
- self .assertIn ('<no view>' , content )
159
+ self .assertTrue ('<no view>' in content , content )
160
160
161
161
class DebugToolbarNameFromObjectTest (BaseTestCase ):
162
162
def test_func (self ):
You can’t perform that action at this time.
0 commit comments