def test_filter_by_author(self):
        for _ in range(5):
            self._create_task(commit={'author': 'cat'})
        for _ in range(10):
            self._create_task(commit={'author': 'dog'})
        response = self.api_client.get('{}?author=cat'.format(self.url))
        response.status_code.should.be.equal(200)
        data = self.deserialize(response)
        data['meta']['total_count'].should.be.equal(5)
Test filter tasks by author
dataset/ETHPy150Open nvbn/coviolations_web/tasks/tests/test_resources.py/TaskResourceCase.test_filter_by_author