Beispiel #1
0
 def test_build_git_url_ceph_custom(self, m_get_ceph_git_url):
     url = 'http://foo.com/some'
     m_get_ceph_git_url.return_value = url + '.git'
     assert url == suite.build_git_url('ceph')
Beispiel #2
0
 def test_build_git_url_ceph_custom(self, m_get_ceph_git_url):
     url = 'http://foo.com/some'
     m_get_ceph_git_url.return_value = url + '.git'
     assert url == suite.build_git_url('ceph')
Beispiel #3
0
 def test_build_git_url_github(self):
     assert 'project' in suite.build_git_url('project')
     owner = 'OWNER'
     assert owner in suite.build_git_url('project', project_owner=owner)
Beispiel #4
0
 def test_build_git_url_github(self):
     assert 'project' in suite.build_git_url('project')
     owner = 'OWNER'
     assert owner in suite.build_git_url('project', project_owner=owner)