Rename init to runlevel
This commit is contained in:
parent
a5cc173143
commit
b6b6e36da9
@ -68,7 +68,7 @@ def get_state(state_store_dir):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
o = {
|
o = {
|
||||||
'init': init_level,
|
'runlevel': init_level,
|
||||||
'registry': registry_address,
|
'registry': registry_address,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ class TestInitness(unittest.TestCase):
|
|||||||
|
|
||||||
def test_state(self):
|
def test_state(self):
|
||||||
o = get_state(self.dir)
|
o = get_state(self.dir)
|
||||||
self.assertEqual(o['init'], '42')
|
self.assertEqual(o['runlevel'], '42')
|
||||||
self.assertEqual(o['registry'], '0xdeadbeef')
|
self.assertEqual(o['registry'], '0xdeadbeef')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user