Skip to content

Commit e96bdcd

Browse files
committed
Fixed 2 assertions.
1 parent 1b9b79a commit e96bdcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/searchcommands/test_configuration_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def generate(self):
8181

8282
self.assertIs(command.configuration.distributed, False)
8383
self.assertIs(command.configuration.generating, True)
84-
self.assertEqual(command.configuration.type, 'stateful')
84+
self.assertEqual(command.configuration.type, 'streaming')
8585

8686
command.configuration.distributed = True
8787

@@ -165,7 +165,7 @@ def stream(self, records):
165165

166166
self.assertEqual(
167167
[(name, value) for name, value in command.configuration.iteritems()],
168-
[('required_fields', ['field_1', 'field_2', 'field_3']), ('type', 'streaming')])
168+
[('required_fields', ['field_1', 'field_2', 'field_3']), ('type', 'stateful')])
169169

170170
return
171171

0 commit comments

Comments
 (0)