Skip to content

Commit

Permalink
Fix dev to alpha for regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard committed Sep 2, 2020
1 parent 49c2fc8 commit bbed0a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/devops_tasks/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ def _is_package_installed(self, package, version):
installed_pkgs = get_installed_packages(site_packages)
logging.info("Installed packages: {}".format(installed_pkgs))
# Verify installed package version
# Search for exact version or dev build version of current version.
# Search for exact version or alpha build version of current version.
pkg_search_string = "{0}=={1}".format(package, version)
dev_build_search_string = "{0}=={1}.dev".format(package, version)
alpha_build_search_string = "{0}=={1}a".format(package, version)
return any(p == pkg_search_string or p.startswith(dev_build_search_string) for p in installed_pkgs)


Expand Down

0 comments on commit bbed0a0

Please sign in to comment.