These python tests aren't installed, so they need to be downloaded
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
#!/bin/sh -ex
-wget -q https://raw.github.com/ceph/ceph/master/src/test/pybind/test_rados.py
+CEPH_REF=${CEPH_REF:-master}
+wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rados.py
nosetests -v test_rados
exit 0
#!/bin/sh -ex
-wget -q https://raw.github.com/ceph/ceph/master/src/test/pybind/test_rbd.py
+CEPH_REF=${CEPH_REF:-master}
+wget -q https://raw.github.com/ceph/ceph/$CEPH_REF/src/test/pybind/test_rbd.py
nosetests -v -e '.*test_remove_with_watcher' test_rbd
exit 0