Skip to content

Commit

Permalink
Merge pull request #292 from kyrofa/backport/catkin_pep8_fixes
Browse files Browse the repository at this point in the history
Backport to 1.x: Fix ordering for conditional negations in catkin tests
  • Loading branch information
sergiusens committed Feb 4, 2016
2 parents 0d46bfa + 4d33612 commit b5f04b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft/tests/test_plugin_catkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ def __init__(self, test):
def __eq__(self, args):
index = args.index('--pkg')
packages = args[index+1:index+3]
if not 'my_package' in packages:
if 'my_package' not in packages:
self.test.fail('Expected "my_package" to be installed '
'within the same command as "package_2"')

if not 'package_2' in packages:
if 'package_2' not in packages:
self.test.fail('Expected "package_2" to be installed '
'within the same command as "my_package"')

Expand Down

0 comments on commit b5f04b9

Please sign in to comment.