Skip to content

Commit 3031052

Browse files
Dmitri Zimin(e)emedvedev
authored andcommitted
Fix linter errors.
1 parent 4c045b3 commit 3031052

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

st2common/tests/unit/test_util_actionalias_matching.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)