def disabled_hello_systemvm_cuisine(self):
     """Test we can run cuisine on the systemvm"""
     file_write('/tmp/run_cuisine', '\n\nsuccess!\n')
     found, context = has_line('/tmp/run_cuisine', 'success!')
     if not found:
         print_doc('/tmp/cuisine', context)
     assert found, '/tmp/run_cuisine should contain "success!"'
Example #2
0
 def check_no_errors(self):
     # todo config update should exit 1 on convergence errors!
     found, context = has_line('/var/log/cloud.log', 'cannot be configured')
     if found:
         #print_doc('/var/log/cloud.log', context)
         pass
     assert not found, 'cloud.log should not contain "cannot be configured"'
 def disabled_hello_systemvm_cuisine(self):
     """Test we can run cuisine on the systemvm"""
     file_write('/tmp/run_cuisine', '\n\nsuccess!\n')
     found, context = has_line('/tmp/run_cuisine', 'success!')
     if not found:
         print_doc('/tmp/cuisine', context)
     assert found, '/tmp/run_cuisine should contain "success!"'