mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-15 12:25:52 +00:00
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:
parent
0788277a2f
commit
3e327ad9f5
1 changed files with 0 additions and 8 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue