Cover maintenance operations with tests

This commit is contained in:
Ivan Kravets
2016-08-11 19:20:54 +03:00
parent 31fdc76f25
commit 9a959a0aa4
4 changed files with 197 additions and 3 deletions

View File

@ -89,7 +89,7 @@ WARNING! Don't use `sudo` for the rest PlatformIO commands.
def get_latest_version():
try:
if not isinstance(VERSION[2], int):
if not str(VERSION[2]).isdigit():
try:
return get_develop_latest_version()
except: # pylint: disable=bare-except