swc-installation-test-2.py: added support for py.test

@wking