1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

add no data test

This commit is contained in:
Kelly Brazil
2023-12-04 09:59:28 -08:00
parent 29b012e66d
commit 8b94c326de

View File

@ -25,6 +25,12 @@ class Swapon(unittest.TestCase):
cls.f_in[file] = a.read()
cls.f_json[file] = json.loads(b.read())
def test_foo_nodata(self):
"""
Test 'foo' with no data
"""
self.assertEqual(parse('', quiet=True), [])
def test_swapon_all(self):
"""
Test 'swapon --output-all'