@skipIf(StrictVersion(django.get_version()) < StrictVersion('1.7'), "Skip list display test due to missing method.")
    def test_list_display(self):
        admin = CouponAdmin(Coupon, self.site)

        self.assertEquals(
            list(admin.get_fields(request)),
            ['value', 'code', 'type', 'user', 'redeemed_at', 'valid_until', 'campaign']
        )
dataset/ETHPy150Open byteweaver/django-coupons/coupons/tests/test_admin.py/CouponAdminTestCase.test_list_display/original