

@requires_tz_support
def test_change_readonly(self):
    Timestamp.objects.create()
    t = Timestamp.objects.get()
    response = self.client.get(reverse('admin_tz:timezones_timestamp_change', args=(t.pk,)))
    self.assertContains(response, t.created.astimezone(EAT).isoformat())

dataset/ETHPy150Open django/django/tests/timezones/tests.py AdminTests.test_change_readonly/original