Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/j/django-listable-0.1.0/listable-demo/staff/tests/test_models.py   django-listable(Download)
 
        #should now be an inactive object
        iq = InactiveQuarter.objects.get(staff=self.staff, quarter=cur)
 
        self.staff.toggle_status()
        with self.assertRaises(InactiveQuarter.DoesNotExist):
            InactiveQuarter.objects.get(staff=self.staff, quarter=cur)

src/d/j/django-listable-0.1.0/listable-demo/staff/tests/test_views.py   django-listable(Download)
 
        #should now be an inactive object
        iq = InactiveQuarter.objects.get(staff=self.staff, quarter=cur)
 
    def test_invalid_toggle(self):