MCPcopy
hub / github.com/django/django / test_access_invalid

Method test_access_invalid

tests/gis_tests/test_measure.py:51–54  ·  view source on GitHub ↗

Testing access in invalid units

(self)

Source from the content-addressed store, hash-verified

49 self.assertAlmostEqual(d.ft, 328.084, 3)
50
51 def test_access_invalid(self):
52 "Testing access in invalid units"
53 d = D(m=100)
54 self.assertFalse(hasattr(d, "banana"))
55
56 def test_addition(self):
57 "Test addition & subtraction"

Callers

nothing calls this directly

Calls 1

DClass · 0.50

Tested by

no test coverage detected