def test_get_threads_returns_all_threads_if_period_not_provided_post(self):
        t1 = Thread.objects.create(site=self.site, url='test_url')
        t2 = Thread.objects.create(site=self.site, url='test_url_2')
        self.client.login(email="donald@duck.com", password="password")

        resp = self.client.post(reverse("c4all_admin:get_threads", args=[self.site.id, ]))

        threads = resp.context['threads'].object_list

        self.assertTrue(t1 in threads)
        self.assertTrue(t2 in threads)
dataset/ETHPy150Open c4all/c4all/admin/tests/thread.py/AdminThreadTestCases.test_get_threads_returns_all_threads_if_period_not_provided_post/original