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

modules.pkg int tests: skip refresh_db upon error #34072

Merged
merged 1 commit into from
Jun 17, 2016

Conversation

jfindlay
Copy link
Contributor

What does this PR do?

Skip the test when there is an error:

Error Message

'str' object has no attribute 'items'

Stacktrace

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/salttesting/helpers.py", line 547, in wrapper
    return func(cls)
  File "/usr/local/lib/python2.7/dist-packages/salttesting/helpers.py", line 68, in wrap
    return caller(cls)
  File "/testing/tests/integration/modules/pkg.py", line 197, in test_refresh_db
    for source, state in ret.items():
AttributeError: 'str' object has no attribute 'items'

Standard Output

Standard Error

What issues does this PR fix or reference?

Tests written?

Yes

@thatch45 thatch45 merged commit 6d0d52f into saltstack:2015.8 Jun 17, 2016
@jfindlay jfindlay deleted the refresh_db branch June 17, 2016 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants