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.

_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to     : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to