@@ -0,0 +1,842 @@
+#!/usr/bin/env python%0Aimport pytest%0Afrom click.testing import CliRunner%0A%0Afrom compaction import cli%0A%0A%0A@pytest.fixture%0Adef response():%0A    %22%22%22Sample pytest fixture.%0A%0A    See more at: http://doc.pytest.org/en/latest/fixture.html%0A    %22%22%22%0A    # import requests%0A    # return requests.get('https://github.com/audreyr/cookiecutter-pypackage')%0A%0A%0Adef test_content(response):%0A    %22%22%22Sample pytest test function with the pytest fixture as an argument.%22%22%22%0A    # from bs4 import BeautifulSoup%0A    # assert 'GitHub' in BeautifulSoup(response.content).title.string%0A%0A%0Adef test_command_line_interface():%0A    %22%22%22Test the CLI.%22%22%22%0A    runner = CliRunner()%0A    result = runner.invoke(cli.main, %5B%22--help%22%5D)%0A    assert result.exit_code == 0%0A%0A    result = runner.invoke(cli.main, %5B%22--version%22%5D)%0A    assert result.exit_code == 0%0A    assert %22version%22 in result.output%0A

Add a simple test for the command line interface.