Skip to content

Build Tests for TNS Submissions #11

@tabbott36

Description

@tabbott36

The TNS Submissions require sensitive information such as API keys. This information is currently protected using Pydantic's SecretStr class, however, the secret strings are not JSON serializable. This is preventing tests from being run on the TNS submissions.

Attempt at a solution: the data can be serialized using Pydantic's .get_secret_value() , however, this potentially puts sensitive information at risk when running tests. The desired solution would use either (1) enable TNS sandbox submissions using a "dummy" API key or (2) use the user's API key stored in their environment variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions