git clone git@github.com:theforeman/foremanctl.git
cd foremanctl
./setup-environment
source .venv/bin/activate
./forge vms start
./foremanctl deploy --initial-admin-password=changeme --tuning development --add-feature smart-proxy
pytest tests/foreman_proxy_test.py
@functools.cached_property
def client(self) -> paramiko.SSHClient:
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.WarningPolicy())
cfg = {
"hostname": self.host.name,
"port": int(self.host.port) if self.host.port else 22,
"username": self.host.user,
"timeout": self.timeout,
"password": self.host.password,
}
if self.ssh_config:
ssh_config_dir = os.path.dirname(self.ssh_config)
> with open(self.ssh_config) as f:
^^^^^^^^^^^^^^^^^^^^^
E FileNotFoundError: [Errno 2] No such file or directory: './.tmp/ssh-config'
.venv/lib64/python3.14/site-packages/testinfra/backend/paramiko.py:109: FileNotFoundError
Steps to reproduce
Then run tests
All fail with:
Either we miss something in dev docs or in the setup-environment script