mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
doc update
This commit is contained in:
@ -1,7 +1,8 @@
|
|||||||
jc changelog
|
jc changelog
|
||||||
|
|
||||||
20221025 v1.22.2
|
20221101 v1.22.2
|
||||||
- add `sshd_conf` parser
|
- add `sshd_conf` parser
|
||||||
|
- add `findmnt` parser
|
||||||
- fix `csv` and `csv-s` parsers for UTF-8 encoded CSV files with leading BOM bytes
|
- fix `csv` and `csv-s` parsers for UTF-8 encoded CSV files with leading BOM bytes
|
||||||
- fix exit code to be non-zero on interrupt
|
- fix exit code to be non-zero on interrupt
|
||||||
- allow parser module objects to be used as arguments to `jc.get_help()` and `jc.parser_info()`
|
- allow parser module objects to be used as arguments to `jc.get_help()` and `jc.parser_info()`
|
||||||
|
@ -221,11 +221,11 @@ class MyTests(unittest.TestCase):
|
|||||||
cls.f_json[file] = json.loads(b.read())
|
cls.f_json[file] = json.loads(b.read())
|
||||||
|
|
||||||
|
|
||||||
def test_foo_nodata(self):
|
def test_proc_nodata(self):
|
||||||
"""
|
"""
|
||||||
Test 'foo' with no data
|
Test proc parser with no data
|
||||||
"""
|
"""
|
||||||
self.assertRaises(ParseError, jc.parsers.proc.parse, '')
|
self.assertRaises(ParseError, jc.parsers.proc.parse, '', quiet=True)
|
||||||
|
|
||||||
def test_proc_file_signature_detection(self):
|
def test_proc_file_signature_detection(self):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user