mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Merge pull request #384 from untitaker/open-graphical-browser-hotfix
Fix broken test for webbrowser internals
This commit is contained in:
commit
dac6295376
2 changed files with 11 additions and 3 deletions
|
|
@ -9,6 +9,14 @@ Package maintainers and users who have to manually update their installation
|
||||||
may want to subscribe to `GitHub's tag feed
|
may want to subscribe to `GitHub's tag feed
|
||||||
<https://github.com/untitaker/vdirsyncer/tags.atom>`_.
|
<https://github.com/untitaker/vdirsyncer/tags.atom>`_.
|
||||||
|
|
||||||
|
Version 0.9.2
|
||||||
|
=============
|
||||||
|
|
||||||
|
*released on 13 March 2016*
|
||||||
|
|
||||||
|
- Fixed testsuite for environments that don't have any web browser installed.
|
||||||
|
See :ghpr:`384`.
|
||||||
|
|
||||||
Version 0.9.1
|
Version 0.9.1
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,9 +83,9 @@ def test_request_ssl_fingerprints(httpsserver, fingerprint):
|
||||||
|
|
||||||
def test_open_graphical_browser(monkeypatch):
|
def test_open_graphical_browser(monkeypatch):
|
||||||
import webbrowser
|
import webbrowser
|
||||||
# Just assert that this internal attribute still exists,is some sort of
|
# Just assert that this internal attribute still exists and is some sort of
|
||||||
# collection and non-empty
|
# collection.
|
||||||
assert len(webbrowser._tryorder)
|
iter(webbrowser._tryorder)
|
||||||
|
|
||||||
monkeypatch.setattr('webbrowser._tryorder', [])
|
monkeypatch.setattr('webbrowser._tryorder', [])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue