On Mon, 20 May 2013, MikedePlume wrote:

I must say, I'd love to see something about testing bash scripts, and,

Something like this:

child = subprocess.Popen(["find", deploy_root, "-name", "*.sh"])
out, err = child.communicate()
bad = out.splitlines()
self.assertEqual(len(bad), 0)


;-)


John
_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

Reply via email to