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

Test get_version_warning #2632

Merged
merged 2 commits into from
Oct 30, 2022
Merged

Test get_version_warning #2632

merged 2 commits into from
Oct 30, 2022

Commits on Oct 28, 2022

  1. Test get_version_warning

    This change is testing that get_version_warning():
    - returns "" if current version is latest one
    - returns a pre-release information if using pre-release
    - returns a new release information and extra installation information.
      (note: this test doesn't check that guess_install_method() is working correctly)
    
    I had to use pytest-mock to ensure that all test parameters are
    correctly set. The test should not rely on current version (since it's likely
    v1.2.3dev123) and on version on github.
    
    Signed-off-by: Arnaud Patard <apatard@hupstream.com>
    apatard committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    3c52fef View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. Configuration menu
    Copy the full SHA
    26b98e9 View commit details
    Browse the repository at this point in the history