예제 #1
0
파일: test_builds.py 프로젝트: ceph/shaman
 def test_up_to_project(self, session):
     build = Build(self.p, **self.data)
     session.commit()
     result = build.get_url('project')
     assert result == '/builds/ceph/'
예제 #2
0
 def test_up_to_project(self, session):
     build = Build(self.p, **self.data)
     session.commit()
     result = build.get_url('project')
     assert result == '/builds/ceph/'
예제 #3
0
파일: test_builds.py 프로젝트: ceph/shaman
 def test_by_sha1(self, session):
     build = Build(self.p, **self.data)
     session.commit()
     result = build.get_url('sha1')
     assert result == '/builds/ceph/master/sha1/'
예제 #4
0
 def test_by_sha1(self, session):
     build = Build(self.p, **self.data)
     session.commit()
     result = build.get_url('sha1')
     assert result == '/builds/ceph/master/sha1/'