def testClockInSameTime(self):
        self.login_user(self.user)
        entry1_data = {
            'user': self.user,
            'start_time': self.now,
            'project': self.project,
            'activity': self.devl_activity,
        }
        entry1 = factories.Entry(**entry1_data)
        entry1_data.update({
            'st_str': self.now.strftime('%H:%M:%S')
        })
        data = self.clock_in_form
        data.update({
            'start_time_0': entry1.start_time.strftime('%m/%d/%Y'),
            'start_time_1': entry1.start_time.strftime('%H:%M:%S'),
        })
        # This clock in attempt should be blocked by entry1 (same start time)
        response = self.client.post(self.url, data)
        self.assertFormError(response, 'form', None,
                             'Please enter a valid start time')
        self.assertFormError(
            response, 'form', 'start_time',
            'The start time is on or before the current entry: ' +
            '%(project)s - %(activity)s starting at %(st_str)s' % entry1_data)
Test that the user cannot clock in with the same start time as the
dataset/ETHPy150Open caktus/django-timepiece/timepiece/entries/tests/test_timesheet.py/ClockInTest.testClockInSameTime