mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-10 22:41:51 +02:00
add no data test
This commit is contained in:
@@ -25,6 +25,12 @@ class Swapon(unittest.TestCase):
|
|||||||
cls.f_in[file] = a.read()
|
cls.f_in[file] = a.read()
|
||||||
cls.f_json[file] = json.loads(b.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):
|
def test_swapon_all(self):
|
||||||
"""
|
"""
|
||||||
Test 'swapon --output-all'
|
Test 'swapon --output-all'
|
||||||
|
Reference in New Issue
Block a user