def test_page_no_permissions(self):
        self.login_user(self.user)
        self.create_entries(timezone.now(), Entry.VERIFIED)

        response = self.client.get(self.url, data=self.data)
        self.assertEqual(response.status_code, 302)

        response = self.client.post(self.url, data=self.data)

        entries = Entry.no_join.filter(status=Entry.VERIFIED)
        self.assertEquals(entries.count(), 2)
A regular user should not have the permissions to
dataset/ETHPy150Open caktus/django-timepiece/timepiece/entries/tests/test_timesheet.py/MonthlyRejectTestCase.test_page_no_permissions