Skip to content

Add unit tests for geopoint exports#349

Draft
khalilurrrahmanridoykhan wants to merge 1 commit into
kobotoolbox:mainfrom
khalilurrrahmanridoykhan:agent/geopoint-export-tests
Draft

Add unit tests for geopoint exports#349
khalilurrrahmanridoykhan wants to merge 1 commit into
kobotoolbox:mainfrom
khalilurrrahmanridoykhan:agent/geopoint-export-tests

Conversation

@khalilurrrahmanridoykhan

Copy link
Copy Markdown

What changed

  • adds export coverage for geopoint, start-geopoint, and background-geopoint
  • verifies the conventional _latitude, _longitude, _altitude, and _precision columns
  • covers complete four-component values, two-dimensional values, and missing values

Why

These three field types are mapped to FormGPSField, but their component-column export behavior was not directly covered together. The tests document and protect the expected export contract for downstream survey-data consumers.

Validation

  • python -m pytest -q tests/test_exports.py — 72 passed, 1 deselected, 3 subtests passed
  • git diff --check

Closes #328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit tests for geopoint exports

1 participant