Page MenuHomeDevCentral

Handle ssh_keys_by_forest in pillar users test
Needs ReviewPublic

Authored by dereckson on Thu, Sep 11, 22:11.

Details

Summary

SSH keys for users were previously defined in ssh_keys option.
They can nowadays also be defined in ssh_keys_by_forest.
At least one of those is mandatory.

Commit 105e8404727a introduced that mechanism, but tests weren't updated.

Commit 776470ac99d2 was the first to use ssh_keys_by_forest
and so broke this test suite.

This is a follow-up for 105e8404727a.

Ref T2123

Test Plan

(cd _tests && python -m unittest discover pillar)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Errors
SeverityLocationCodeMessage
Error_tests/pillar/core/test_users.py:63E501flake8 E501
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5861
Build 6143: arc lint + arc unit