Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/j/django-publicmanager-HEAD/django_publicmanager_tests/manager_tests/tests.py   django-publicmanager(Download)
        self.assertEqual(4, len(qs.all()))
        self.assertEqual(
            set(PublicStatus.objects.filter(status__in=PublicStatus.PUBLIC_STATUS)),
            set(qs.public()))
        self.assertEqual(2, len(qs.public()))
        qs = PublicStatus.generic.public()
        self.assertEqual(
            set(PublicStatus.objects.filter(status__in=PublicStatus.PUBLIC_STATUS)),
            set(qs))
        self.assertEqual(2, len(qs))
    def test_status(self):
        qs = PublicStatus.public.all()
        self.assertEqual(
            set(PublicStatus.objects.filter(status__in=PublicStatus.PUBLIC_STATUS)),
            set(qs))