-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for quad nic setups and fix debian (#80)
This PR adds tests for debian for quad nic setups. The first 5 commits are just some refactors so that the main commits will be easier to see. They mostly just refactor the tests so that we use f-strings instead of .format because we need to process (dedent) the strings in each thunk. Since we are already needing to split the one string in thunks for multi-nic logic I went ahead and added a little more splitting to handle debian vs ubuntu too, hooray deduping. The second to last commit adds a test parameter with 4 nics but test still pass because the code is buggy. The final commit updates the expected results along with the interfaces template that has the fix.
- Loading branch information
Showing
6 changed files
with
261 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.