buge
This commit is contained in:
@@ -54,6 +54,9 @@ class OnlineInstallerTests(unittest.TestCase):
|
||||
installer = (ROOT / path).read_text()
|
||||
self.assertIn("allowmultiplelogin = yes", installer)
|
||||
self.assertIn("pline.local-asterisk-api-token", installer)
|
||||
stage_names = installer.split("STAGE_NAMES=(", 1)[1].split(")", 1)[0]
|
||||
stage_states = installer.split("STAGE_STATES=(", 1)[1].split(")", 1)[0]
|
||||
self.assertEqual(stage_names.count('"') // 2, stage_states.count('"') // 2)
|
||||
|
||||
def test_installer_respects_server_configured_apt_repositories(self):
|
||||
commands = section("apt_cmd() {", "apt_policy() {")
|
||||
|
||||
Reference in New Issue
Block a user