Remove entry-point test

I thought it was common practice to run testsuites post-install.
Apparently this isn't the case with Archlinux, which executes `check`
between `build` and `install`.

Fix #393
This commit is contained in:
Markus Unterwaditzer 2016-03-22 20:49:29 +01:00
parent 0788277a2f
commit 3e327ad9f5

View file

@ -17,14 +17,6 @@ import vdirsyncer.cli as cli
from vdirsyncer.utils.compat import PY2, to_native, to_unicode
def test_entry_points(monkeypatch, capsys):
monkeypatch.setattr('sys.argv', ['--help'])
with pytest.raises(SystemExit) as excinfo:
load_entry_point('vdirsyncer', 'console_scripts', 'vdirsyncer')()
assert excinfo.value.code == 0
def test_simple_run(tmpdir, runner):
runner.write_with_general(dedent('''
[pair my_pair]