From c21f44268bc33e556e1659625f86c57e1e9806c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20B=C3=A1nffy?= Date: Sat, 5 Nov 2016 15:45:11 +0000 Subject: [PATCH] Test fixes for Tox, PEP8 fixes --- pip_chill/cli.py | 1 + tests/test_pip_chill.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pip_chill/cli.py b/pip_chill/cli.py index 4e7d951..9765d1a 100644 --- a/pip_chill/cli.py +++ b/pip_chill/cli.py @@ -6,6 +6,7 @@ import click import pip_chill + @click.command() @click.option( '--no-version', is_flag=True, default=False, help='Omit version numbers.') diff --git a/tests/test_pip_chill.py b/tests/test_pip_chill.py index 451d3cd..0d15871 100644 --- a/tests/test_pip_chill.py +++ b/tests/test_pip_chill.py @@ -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): @@ -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__':