Skip to content

Commit

Permalink
read from variable correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Akm0d committed Oct 6, 2019
1 parent d1d0062 commit 22fe057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/modules/test_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def test_hold_unhold(self, grains):
self.run_function('pkg.install', [self.pkg])

hold_ret = self.run_function('pkg.hold', [self.pkg])
if 'versionlock is not installed' in 'hold_ret':
if 'versionlock is not installed' in hold_ret:
self.run_function('pkg.remove', [self.pkg])
self.skipTest('Versionlock could not be installed on this system: {}'.format(ret))
self.assertIn(self.pkg, hold_ret)
Expand Down

0 comments on commit 22fe057

Please sign in to comment.