mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
3905cfa1a5
Reverted test for refs #27603 in favor of using FuncTestMixin.
16 lines
421 B
Python
16 lines
421 B
Python
import copy
|
|
|
|
from django.contrib.gis.db.models.sql import AreaField, DistanceField
|
|
from django.test import SimpleTestCase
|
|
|
|
|
|
class FieldsTests(SimpleTestCase):
|
|
|
|
def test_area_field_deepcopy(self):
|
|
field = AreaField(None)
|
|
self.assertEqual(copy.deepcopy(field), field)
|
|
|
|
def test_distance_field_deepcopy(self):
|
|
field = DistanceField(None)
|
|
self.assertEqual(copy.deepcopy(field), field)
|