Rename init to runlevel

This commit is contained in:
nolash
2021-09-29 07:11:26 +02:00
parent a5cc173143
commit b6b6e36da9
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ def get_state(state_store_dir):
pass
o = {
'init': init_level,
'runlevel': init_level,
'registry': registry_address,
}

View File

@@ -19,7 +19,7 @@ class TestInitness(unittest.TestCase):
def test_state(self):
o = get_state(self.dir)
self.assertEqual(o['init'], '42')
self.assertEqual(o['runlevel'], '42')
self.assertEqual(o['registry'], '0xdeadbeef')