MCPcopy
hub / github.com/django/django / test_furlong

Method test_furlong

tests/gis_tests/test_measure.py:146–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 self.assertEqual(repr(d2), "Distance(km=3.5)")
145
146 def test_furlong(self):
147 d = D(m=201.168)
148 self.assertEqual(d.furlong, 1)
149
150 def test_unit_att_name(self):
151 "Testing the `unit_attname` class method"

Callers

nothing calls this directly

Calls 1

DClass · 0.50

Tested by

no test coverage detected