User:Andrey utkin/Botocore boto3 testing

From Gentoo Wiki
Jump to:navigation Jump to:search

Testing procedure for dev-python/botocore, dev-python/boto3

Prerequisites:

  • stable system of arch being tested
  • valid AWS account
  • ~/.aws/credentials filled with credentials of **non-root** AWS account

See some helper scripts in https://github.com/andrey-utkin/gentoo-testing-helpers

For pkg in dev-python/botocore, dev-python/boto3, do:

  • Uninstall $pkg
  • Install $pkg version of interest with FEATURES=test and USE=doc
  • Fetch a $pkg uptream git repo from https://github.com/boto/$pkg
  • Checkout version of interest in git repo using respective tag
  • Run "nosetests tests/integration" in $pkg git repo. Ideally, using each Python version installed