Skip to content

Commit

Permalink
Test fixes for Tox, PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbanffy committed Nov 5, 2016
1 parent 620736e commit c21f442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pip_chill/cli.py
Expand Up @@ -6,6 +6,7 @@
import click
import pip_chill


@click.command()
@click.option(
'--no-version', is_flag=True, default=False, help='Omit version numbers.')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pip_chill.py
Expand Up @@ -35,7 +35,7 @@ def test_pip_ommitted(self):
def test_all(self):
installed_packages = [
package for (package, version) in pip_chill.chill(True)]
for package in ['pip-chill', 'wheel', 'setuptools', 'pip']:
for package in ['wheel', 'setuptools', 'pip']:
assert package in installed_packages

def test_command_line_interface_help(self):
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_command_line_interface_all(self):
runner = CliRunner()
result = runner.invoke(cli.main, ['--all'])
assert result.exit_code == 0
for package in ['pip-chill', 'wheel', 'setuptools', 'pip']:
for package in ['wheel', 'setuptools', 'pip']:
assert package in result.output

if __name__ == '__main__':
Expand Down

0 comments on commit c21f442

Please sign in to comment.