Skip to content

Commit c4fb8ec

Browse files
committed
SPL-142009: Some more changes to fix test cases.
1 parent 1d9dc69 commit c4fb8ec

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/searchcommands_app/package/default/searchbnf.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ comment1 = \
3636
example1 = \
3737
| generatetext text="Hello world! How the heck are you?" count=6 \
3838
| filter predicate="(long(_serial) & 1) == 0" map="_raw = _raw.replace('world', 'Splunk')"
39-
category = eventing
39+
category = events
4040
appears-in = 1.5
4141
maintainer = dnoble
4242
usage = public

splunklib/searchcommands/eventing_command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ class ConfigurationSettings(SearchCommand.ConfigurationSettings):
113113
114114
''')
115115

116-
type = ConfigurationSetting(readonly=True, value='eventing', doc='''
116+
type = ConfigurationSetting(readonly=True, value='events', doc='''
117117
Command type
118118
119-
Fixed: :const:`'eventing'`.
119+
Fixed: :const:`'events'`.
120120
121121
Supported by: SCP 2
122122

tests/searchcommands/test_configuration_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def stream(self, records):
155155
command.configuration.required_fields = ['field_1', 'field_2', 'field_3']
156156

157157
try:
158-
command.configuration.type = 'eventing'
158+
command.configuration.type = 'events'
159159
except AttributeError:
160160
pass
161161
except Exception as error:

tests/searchcommands/test_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def fix_up(cls, command_class):
252252
('some unicode string', b'some byte string'),
253253
(None, 0xdead)),
254254
('type',
255-
('eventing', 'reporting', 'streaming', b'eventing', b'reporting', b'streaming'),
255+
('events', 'reporting', 'streaming', b'events', b'reporting', b'streaming'),
256256
('events', 0xdead))):
257257

258258
for value in values:

0 commit comments

Comments
 (0)