コード例 #1
0
ファイル: test_protonmsg.py プロジェクト: winndows/koji
 def test_prep_repo_done(self):
     protonmsg.prep_repo_done('postRepoDone',
                              repo={
                                  'tag_name': 'test-tag',
                                  'id': 1234
                              },
                              expire=False)
     self.assertMsg('repo.done',
                    type='RepoDone',
                    tag='test-tag',
                    repo_id=1234,
                    expire=False)
コード例 #2
0
 def test_prep_repo_done(self):
     protonmsg.prep_repo_done('postRepoDone', repo={'tag_name': 'test-tag', 'id': 1234},
                              expire=False)
     self.assertMsg('repo.done', type='RepoDone', tag='test-tag', repo_id=1234, expire=False)