@@ -67,10 +67,10 @@ def test_list_format_strings_from_aliases_with_display(self, mock):
6767
6868 def test_list_format_strings_from_aliases_with_display_only (self , mock ):
6969 ALIASES = [
70- MemoryActionAliasDB (name = 'andy' , ref = 'the_goonies.1' , formats = [
71- {'display' : 'Watch this.' }]),
72- MemoryActionAliasDB (name = 'andy' , ref = 'the_goonies.2' , formats = [
73- {'display' : "He's just like his {{relation}}." }])
70+ MemoryActionAliasDB (name = 'andy' ,
71+ ref = 'the_goonies.1' , formats = [ {'display' : 'Watch this.' }]),
72+ MemoryActionAliasDB (name = 'andy' , ref = 'the_goonies.2' ,
73+ formats = [ {'display' : "He's just like his {{relation}}." }])
7474 ]
7575 result = matching .list_format_strings_from_aliases (ALIASES )
7676 self .assertEqual (len (result ), 2 )
@@ -82,9 +82,9 @@ def test_list_format_strings_from_aliases_with_display_only(self, mock):
8282 def test_list_format_strings_from_aliases_with_representation_only (self , mock ):
8383 ALIASES = [
8484 MemoryActionAliasDB (name = 'data' , ref = 'the_goonies.1' , formats = [
85- {'representation' : "That's okay daddy. You can't hug a {{object}}." }]),
86- MemoryActionAliasDB (name = 'mr_wang' , ref = 'the_goonies.2' , formats = [
87- {'representation' : 'You are my greatest invention.' }])
85+ {'representation' : "That's okay daddy. You can't hug a {{object}}." }]),
86+ MemoryActionAliasDB (name = 'mr_wang' , ref = 'the_goonies.2' , formats = [
87+ {'representation' : 'You are my greatest invention.' }])
8888 ]
8989 result = matching .list_format_strings_from_aliases (ALIASES )
9090 self .assertEqual (len (result ), 2 )
0 commit comments