Skip to content

Add unit tests for Socrata upload script #1056

Description

@jeancochrane

The socrata/socrata_upload.py script is relatively stable, so I don't think it urgently needs unit tests, but I do suspect some of its abstractions may be suboptimal and I bet unit tests would help guide us in a gentle refactor to make it easier to maintain. They would also give me more confidence making major changes in the future, should that need to happen.

See https://github.com/ccao-data/alerts/pull/5/changes for an example of a PR that adds a bunch of unit tests using pytest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions