← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~rjschwei/cloud-init:triggerudev into cloud-init:master

 

This isn't a part of the code that I've touched at all, but I think you could do something in tests.unittests.test_net:TestOpenSuseSysConfigRendering; the Renderer class is being instantiated explicitly in the _get_renderer method, so that could be extended to allow passing netrules_path (or more generically, all config).  Then it's just a case of writing a test case for the default path, and one that passes that config and asserts that udevadm is called appropriately?  (I think?)
-- 
https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/363571
Your team cloud-init commiters is requested to review the proposed merge of ~rjschwei/cloud-init:triggerudev into cloud-init:master.


References