Tags: jinnatar/python-cozify
Tags
Automitigate hub ip changes, use Poetry for dev env management, fix m… …b tests (#19) * Surface error when switching to remote due to issues * Bump version: 0.2.28 → 0.2.29 * Run tests with live_hub on a config copy instead of live * Switch to Poetry for development management * Actually ensure hub state might be live before we copy it * Switch Travis to use poetry * Detect & handle changed hub ip address Fixes #17 Also adds a new cloud.update_hubs() call that can be used to refresh hub details. * Print more state for online_device fixture Failed in Travis but not locally, more data to hunt it down * Ensure hub is actually live in fixture live_hub Also, pinging the hub state ensures it gets flipped to remote if that's necessary * Attempt using a newer nodejs Focal comes with 10.0 which is no longer supported * Actually, let's use the active LTS instead * Mark ip change test as xfail for remote * Increase coverage to atone for untestable local bits * Also test cloud resetState * Test cloud refreshing also live * Also test cloud._need_cloud_token * Get rid of setup.py, highly deprecated Make coverage & tox happy without it * Make the refresh test a bit more robust * Ensure we're copying live_cloud from live config
PreviousNext