def test_filter_by_status(self):
        self.factory(status="passed", tester__username="Tester 1")
        self.factory(status="failed", tester__username="Tester 2")

        res = self.get(params={"filter-status": "failed"})

        self.assertInList(res, "Tester 2")
        self.assertNotInList(res, "Tester 1")
Perform the actual delete query on this model instance.
dataset/ETHPy150Open mozilla/moztrap/tests/view/results/results/test_views.py/ResultsViewTest.test_filter_by_status--crossover with--dataset/ETHPy150Open sdispater/orator/orator/orm/mixins/soft_deletes.py/SoftDeletes._run_soft_delete