File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
example_project/main/common Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class MenuItemMixin(object):
99 """
1010 def get_context_data (self , ** kwargs ):
1111 context = super (MenuItemMixin , self ).get_context_data (** kwargs )
12- vattrs = inspect .getmembers (self , lambda a : not (inspect .isroutine (a )))
12+ vattrs = inspect .getmembers (self , lambda a : not (inspect .isroutine (a )))
1313 menu_kwargs = dict (a for a in vattrs if a [0 ].startswith ('menu_' ))
1414 context .update (menu_kwargs )
1515 return context
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class Meta:
9191 form = TestableForm ()
9292
9393 # Check
94- assert type (form .fields ['content' ].widget ) == forms .Textarea
94+ assert type (form .fields ['content' ].widget ) is forms .Textarea
9595
9696 def test_sets_the_markup_widget_to_a_textarea_if_it_is_none (self ):
9797 # Setup
You can’t perform that action at this time.
0 commit comments