7 Commits

Author SHA1 Message Date
Ian Southam
99dd91c565 Added placeholder for networkacl tests 2015-03-16 11:35:20 +01:00
Ian Southam
680454dfdf Some bug fixes
Some more tests
store vmpassword functionally working
Tests for store password
2015-03-16 11:35:18 +01:00
Ian Southam
9d73879061 Fixed test (assert in guest check was wrong way around)
Also found condition inw hich apache would be miscobfigured and failed to run (I love tests!!)
Fixed configure.py to cover this case
Added a test to provoke this case!
2015-03-16 11:35:18 +01:00
Ian Southam
4c5f4a1f9f Added vmpassword type (does nothing yet)
Fixed tests to use /var/cache/cloud
Added some test files but will remove them when tests are properly completed
Fixed a bug in configure that did not deal well with databags with empty dev sections
2015-03-16 11:35:17 +01:00
Ian Southam
ca2ff2946e Added some tests that test stuff
Specifically checking whether certain ip addresses get added and deleted
Also a rudementary test for the guest network ip
Much more to do!!
2015-03-16 11:35:16 +01:00
Ian Southam
dd6b643ceb Do not use eth0 or eth1 for random tests
One or other will be the control interface of the box
2015-03-16 11:35:15 +01:00
Leo Simons
712fa9c92c Tests for update_config.py
These are failing on my machine with cloud.log lines like

  2014-08-07 14:34:09,509 Add dev eth2 table Table_eth2 10.0.2.0/24
  2014-08-07 14:34:09,511 Address 10.0.2.106/24 on device eth2 not configured
  2014-08-07 14:34:10,513 Device eth2 cannot be configured - device was not found

I think it's correct that they are failing -- this is work in progress.
2015-03-16 11:35:12 +01:00