Kaydet (Commit) fb4272f0 authored tarafından Tim Graham's avatar Tim Graham

Refs #26092 -- Added @skipUnlessDBFeature to a test.

üst f91b5a7e
......@@ -3,7 +3,7 @@ from __future__ import unicode_literals
from datetime import datetime
from operator import attrgetter
from django.test import TestCase
from django.test import TestCase, skipUnlessDBFeature
from .models import (
CustomMembership, Employee, Event, Friendship, Group, Ingredient,
......@@ -198,6 +198,7 @@ class M2mThroughTests(TestCase):
attrgetter("name")
)
@skipUnlessDBFeature('supports_microsecond_precision')
def test_order_by_relational_field_through_model(self):
CustomMembership.objects.create(person=self.jim, group=self.rock)
CustomMembership.objects.create(person=self.bob, group=self.rock)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment