Upgrade astral to 1.4 (#6332)

* Upgrade astral to 1.4

* Update test for norway
This commit is contained in:
Fabian Affolter 2017-03-16 17:38:46 +01:00 committed by GitHub
parent 5714f156c3
commit c46ba3446d
4 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ import homeassistant.util.dt as dt_util
from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['astral==1.3.4']
REQUIREMENTS = ['astral==1.4']
_LOGGER = logging.getLogger(__name__)

View file

@ -17,7 +17,7 @@ from homeassistant.util import dt as dt_util
import homeassistant.helpers.config_validation as cv
import homeassistant.util as util
REQUIREMENTS = ['astral==1.3.4']
REQUIREMENTS = ['astral==1.4']
_LOGGER = logging.getLogger(__name__)

View file

@ -58,7 +58,7 @@ apns2==0.1.1
# homeassistant.components.sun
# homeassistant.components.sensor.moon
astral==1.3.4
astral==1.4
# homeassistant.components.light.avion
# avion==0.5

View file

@ -109,6 +109,6 @@ class TestSun(unittest.TestCase):
assert state is not None
assert sun.next_rising_utc(self.hass) == \
datetime(2016, 7, 25, 23, 38, 21, tzinfo=dt_util.UTC)
datetime(2016, 7, 25, 23, 23, 39, tzinfo=dt_util.UTC)
assert sun.next_setting_utc(self.hass) == \
datetime(2016, 7, 26, 22, 4, 18, tzinfo=dt_util.UTC)
datetime(2016, 7, 26, 22, 19, 1, tzinfo=dt_util.UTC)