You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing a server where only the geo-location (lat/on) is proved for requests the test report this "error":
ERROR: testServiceRequests (main.TestOpen311)
Traceback (most recent call last):
File "open311-validator/test311.py", line 157, in testServiceRequests
self._testServiceRequest(sr)
File "open311-validator/test311.py", line 172, in _testServiceRequest
self.assertTrue(re.search('.+', sr['address']), 'address is required')
KeyError: 'address'
As far as I can see from the spec, the address field is only required if lat/lon is unset.
The text was updated successfully, but these errors were encountered:
When testing a server where only the geo-location (lat/on) is proved for requests the test report this "error":
ERROR: testServiceRequests (main.TestOpen311)
Traceback (most recent call last):
File "open311-validator/test311.py", line 157, in testServiceRequests
self._testServiceRequest(sr)
File "open311-validator/test311.py", line 172, in _testServiceRequest
self.assertTrue(re.search('.+', sr['address']), 'address is required')
KeyError: 'address'
As far as I can see from the spec, the address field is only required if lat/lon is unset.
The text was updated successfully, but these errors were encountered: