mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-15 20:14:12 +02:00
add input type checking
This commit is contained in:
@@ -75,7 +75,7 @@ class MyTests(unittest.TestCase):
|
||||
"""
|
||||
Test 'vmstat' with no data
|
||||
"""
|
||||
self.assertEqual(list(jc.parsers.vmstat_s.parse('', quiet=True)), [])
|
||||
self.assertEqual(list(jc.parsers.vmstat_s.parse([], quiet=True)), [])
|
||||
|
||||
def test_vmstat_s_unparsable(self):
|
||||
data = 'unparsable data'
|
||||
|
Reference in New Issue
Block a user