Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Add a fixture enabling SRTM login using envvars. #1145

Merged
merged 2 commits into from
Nov 12, 2018

Commits on Oct 12, 2018

  1. TST: Add a fixture enabling SRTM login using envvars.

    If you set SRTM_USERNAME and SRTM_PASSWORD in the environment, you can
    run pytest and have the SRTM tests work.
    QuLogic committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    9d4cd82 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2018

  1. Filter out SRTM warnings during tests.

    Either we have no credentials and the tests will be skipped, or we do
    have the credentials and they will pass, so there's no need to show the
    warning.
    
    This needed moving the warning around a bit so it's not triggered just
    by importing the srtm package.
    QuLogic committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    e5880eb View commit details
    Browse the repository at this point in the history