Skip to content

Commit 3042a22

Browse files
author
David Noble
committed
Test updates plus tweak to examples/searchcommands_app/default/logging.conf
Signed-off-by: David Noble <[email protected]>
1 parent 8844d30 commit 3042a22

File tree

6 files changed

+6
-61
lines changed

6 files changed

+6
-61
lines changed

examples/searchcommands_app/default/logging.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
keys = root, CountMatchesCommand, SimulateCommand, SumCommand
33

44
[logger_root]
5-
level = DEBUG ; Default: WARNING
5+
level = WARNING ; Default: WARNING
66
handlers = stderr ; Default: stderr
77

88
[logger_CountMatchesCommand]
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
changes_colorder = True
2-
clear_required_fields = False
3-
enableheader = True
4-
generates_timeorder = False
5-
generating = True
6-
local = False
7-
maxinputs = 0
8-
needs_empty_results = True
9-
outputheader = True
10-
passauth = False
11-
perf_warn_limit = 0
12-
required_fields = foo
13-
requires_srinfo = False
14-
retainsevents = True
15-
run_in_preview = True
16-
stderr_dest = log
17-
streaming = True
18-
supports_multivalues = True
19-
supports_rawargs = True
1+
changes_colorder=True, clear_required_fields=False, enableheader=True, generates_timeorder=False, generating=True, local=False, maxinputs=0, needs_empty_results=True, outputheader=True, passauth=False, perf_warn_limit=0, required_fields=foo, requires_srinfo=False, retainsevents=True, run_in_preview=True, stderr_dest=log, streaming=True, supports_multivalues=True, supports_rawargs=True
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
changes_colorder = True
2-
clear_required_fields = True
3-
enableheader = True
4-
generating = False
5-
maxinputs = 0
6-
needs_empty_results = True
7-
outputheader = True
8-
passauth = False
9-
perf_warn_limit = 0
10-
required_fields = foo
11-
requires_preop = False
12-
requires_srinfo = False
13-
retainsevents = False
14-
run_in_preview = True
15-
stderr_dest = log
16-
streaming = False
17-
streaming_preop = stubbedreporting __map__ boolean=false duration=10 fieldname="foo" file={file} integer=10 optionname="foo_bar" regularexpression="\\w+" set="foo"
18-
supports_multivalues = True
19-
supports_rawargs = True
1+
changes_colorder=True, clear_required_fields=True, enableheader=True, generating=False, maxinputs=0, needs_empty_results=True, outputheader=True, passauth=False, perf_warn_limit=0, required_fields=foo, requires_preop=False, requires_srinfo=False, retainsevents=False, run_in_preview=True, stderr_dest=log, streaming=False, streaming_preop=stubbedreporting __map__ boolean=false duration=10 fieldname="foo" file={file} integer=10 optionname="foo_bar" regularexpression="\\w+" set="foo", supports_multivalues=True, supports_rawargs=True
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
changes_colorder = True
2-
clear_required_fields = False
3-
enableheader = True
4-
generating = False
5-
local = False
6-
maxinputs = 0
7-
needs_empty_results = True
8-
outputheader = True
9-
overrides_timeorder = False
10-
passauth = False
11-
perf_warn_limit = 0
12-
required_fields = foo
13-
requires_srinfo = False
14-
retainsevents = True
15-
run_in_preview = True
16-
stderr_dest = log
17-
streaming = True
18-
supports_multivalues = True
19-
supports_rawargs = True
1+
changes_colorder=True, clear_required_fields=False, enableheader=True, generating=False, local=False, maxinputs=0, needs_empty_results=True, outputheader=True, overrides_timeorder=False, passauth=False, perf_warn_limit=0, required_fields=foo, requires_srinfo=False, retainsevents=True, run_in_preview=True, stderr_dest=log, streaming=True, supports_multivalues=True, supports_rawargs=True

tests/searchcommands_data/app/default/logging.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
keys = root, SearchCommand
33

44
[logger_root]
5-
level = DEBUG ; Default: WARNING
5+
level = WARNING ; Default: WARNING
66
handlers = stderr ; Default: stderr
77

88
[logger_SearchCommand]

tests/test_searchcommands_internals.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ def test_input_header(self):
261261
input_header.read(input_file)
262262

263263
self.assertEquals(len(input_header), 1)
264-
self.assertIsInstance(input_header['infoPath'], file)
265-
self.assertEqual(input_header['infoPath'].name, 'searchcommands_data/input/_empty.csv')
264+
self.assertEqual(input_header['infoPath'], 'searchcommands_data/input/_empty.csv')
266265

267266
# Set of named items
268267

0 commit comments

Comments
 (0)