def get_hash(project='ceph', branch='master', flavor='basic',
- distro='ubuntu', machine_type='plana'):
+ machine_type='plana', distro='ubuntu'):
"""
Find the hash representing the head of the project's repository via
querying a gitbuilder repo.
if 'TEST_ONLINE' not in os.environ:
skip("To run these sets, set the environment variable TEST_ONLINE")
- def test_ceph_hash(self):
+ def test_ceph_hash_simple(self):
resp = requests.get(
'https://api.github.com/repos/ceph/ceph/git/refs/heads/master')
ref_hash = resp.json()['object']['sha']
assert suite.get_hash('ceph') == ref_hash
+ def test_kernel_hash_saya(self):
+ # We don't currently have these packages.
+ assert suite.get_hash('kernel', 'master', 'basic', 'saya') is None
+
def test_all_master_branches(self):
# Don't attempt to send email
config.results_email = None