def test_reject_other_user(self):
        self.login_user(self.user2)

        now = timezone.now()
        entry = factories.Entry(**{
            'user': self.user,
            'start_time': now - relativedelta(hours=1),
            'end_time': now,
            'status': Entry.VERIFIED
        })
        url = self.get_reject_url(entry.pk)

        self.client.post(url, {'Yes': 'yes'})
        self.assertEquals(entry.status, Entry.VERIFIED)
A regular user should not be able to reject
dataset/ETHPy150Open caktus/django-timepiece/timepiece/entries/tests/test_timesheet.py/StatusTest.test_reject_other_user