def test_find_by_branch(self):
        self._create_task(status=STATUS_FAILED, commit={'branch': 'test'})
        for n in range(10):
            self._create_task(commit={'branch': 'test{}'.format(n)})
        form = self._get_form(branch='test')
        form.get_task()['status'].should.be.equal(STATUS_FAILED)
Test find by branch
dataset/ETHPy150Open nvbn/coviolations_web/projects/tests/test_forms.py/FindTaskForBadgeFormCase.test_find_by_branch