From 3e327ad9f5c7957ce57964704dca161546dc4704 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Tue, 22 Mar 2016 20:49:29 +0100 Subject: [PATCH] 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 --- tests/cli/test_main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/cli/test_main.py b/tests/cli/test_main.py index 1cba9f8..5289d3f 100644 --- a/tests/cli/test_main.py +++ b/tests/cli/test_main.py @@ -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]