Skip to content

Commit

Permalink
Merge branch 'fix-smoke-tests' into develop
Browse files Browse the repository at this point in the history
* fix-smoke-tests:
  Run all services if AWS_SMOKE_TEST_SERVICES not provided
  • Loading branch information
jamesls committed Oct 1, 2015
2 parents 9a81ec3 + 130faf5 commit 4fca818
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/integration/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,12 @@ def _list_services(dict_entries):
# If the AWS_SMOKE_TEST_SERVICES is provided,
# it's a comma separated list of services you can provide
# if you only want to run the smoke tests for certain services.
wanted_services = set(
os.environ.get('AWS_SMOKE_TEST_SERVICES', '').split(','))
if not wanted_services:
if 'AWS_SMOKE_TEST_SERVICES' not in os.environ:
return dict_entries.keys()
return [key for key in dict_entries if key in wanted_services]
else:
wanted_services = os.environ.get(
'AWS_SMOKE_TEST_SERVICES', '').split(',')
return [key for key in dict_entries if key in wanted_services]


def test_can_make_request_with_client():
Expand Down

0 comments on commit 4fca818

Please sign in to comment.