Add interactive NetBox host installer
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import stat
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
@@ -56,6 +58,8 @@ class ExecutorTests(unittest.TestCase):
|
||||
self.assertEqual(runner.commands, [])
|
||||
self.assertIsNone(journal.get_managed_plugin("demo-plugin"))
|
||||
self.assertFalse(config.paths.include_path.exists())
|
||||
if os.name == "posix":
|
||||
self.assertEqual(stat.S_IMODE(config.paths.temp_dir.stat().st_mode), 0o711)
|
||||
|
||||
def test_install_is_disabled_and_uses_fixed_pip_argv(self) -> None:
|
||||
config = make_config(self.root, dry_run=False)
|
||||
|
||||
Reference in New Issue
Block a user