def test_succeeds_on_existing_draft(self):
     self.repo.releases._releases = [{'tag_name': 'test', 'draft': True}]
     publish_release.get_draft(self.repo, 'test')
Beispiel #2
0
 def test_succeeds_on_existing_draft(self):
   self.repo.releases._releases = [{'tag_name': 'test', 'draft': True}]
   publish_release.get_draft(self.repo, 'test')