Example #1
0
    def test_merge_vetoes(self):
        pr = PullRequest(1, '', self.client, None)
        vetoes = pr.merge_info()

        assert len(vetoes['vetoes']) == 1
Example #2
0
    def test_merge_vetoes(self):
        pr = PullRequest(1, '', self.client, None)
        vetoes = pr.merge_info()

        assert len(vetoes['vetoes']) == 1
Example #3
0
 def test_can_merge(self):
     pr = PullRequest(1, '', self.client, None)
     assert pr.can_merge() is False
Example #4
0
 def test_can_merge(self):
     pr = PullRequest(1, '', self.client, None)
     assert pr.can_merge() is False