-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from NabuCasa/dev
Release 0.10
- Loading branch information
Showing
5 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from setuptools import setup | ||
|
||
VERSION = "0.9" | ||
VERSION = "0.10" | ||
|
||
setup( | ||
name="hass-nabucasa", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,7 @@ async def test_load_backend_exists_cert( | |
"test.dui.nabu.casa", | ||
"[email protected]", | ||
) | ||
assert acme_mock.call_hardening | ||
assert snitun_mock.call_start | ||
assert snitun_mock.init_args == (None, None) | ||
assert snitun_mock.init_kwarg == { | ||
|
@@ -141,6 +142,7 @@ async def test_load_backend_not_exists_cert( | |
"test.dui.nabu.casa", | ||
"[email protected]", | ||
) | ||
assert acme_mock.call_hardening | ||
assert snitun_mock.call_start | ||
assert snitun_mock.init_args == (None, None) | ||
assert snitun_mock.init_kwarg == { | ||
|
@@ -192,6 +194,7 @@ async def test_load_and_unload_backend( | |
"test.dui.nabu.casa", | ||
"[email protected]", | ||
) | ||
assert acme_mock.call_hardening | ||
assert snitun_mock.call_start | ||
assert not snitun_mock.call_stop | ||
assert snitun_mock.init_args == (None, None) | ||
|
@@ -251,6 +254,7 @@ async def test_load_backend_exists_wrong_cert( | |
"test.dui.nabu.casa", | ||
"[email protected]", | ||
) | ||
assert acme_mock.call_hardening | ||
assert snitun_mock.call_start | ||
assert snitun_mock.init_args == (None, None) | ||
assert snitun_mock.init_kwarg == { | ||
|
@@ -332,6 +336,7 @@ async def test_load_backend_no_autostart( | |
|
||
assert remote.snitun_server == "rest-remote.nabu.casa" | ||
assert not acme_mock.call_issue | ||
assert acme_mock.call_hardening | ||
assert snitun_mock.call_start | ||
|
||
assert not snitun_mock.call_connect | ||
|