Skip to content

Commit

Permalink
git release test does not run in appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
suoto committed Nov 1, 2019
1 parent 2190a0e commit 08015bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hdl_checker/tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import unittest2 # type: ignore
from mock import MagicMock, Mock, patch

from hdl_checker.tests import linuxOnly

from hdl_checker.builder_utils import BuilderName, getBuilderByName
from hdl_checker.builders.fallback import Fallback
from hdl_checker.builders.ghdl import GHDL
Expand Down Expand Up @@ -133,6 +135,7 @@ def test_RejectsInvalidFormats(self, popen):
def test_HandlesNoConnection(self, *_):
self.assertIsNone(_getLatestReleaseVersion())

@linuxOnly
def test_UnmockedCallWorks(self):
self.assertIsNotNone(_getLatestReleaseVersion())

Expand Down
2 changes: 1 addition & 1 deletion hdl_checker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def _getLatestReleaseVersion():
timer.cancel()

if not stdout or stderr:
_logger.info("Couldn't fetch latest tag from %s", REPO_URL)
_logger.info("Couldn't fetch latest tag from %s: %s", REPO_URL, stderr.decode())
return None

tags = [x.decode() for x in stdout.splitlines()]
Expand Down

0 comments on commit 08015bb

Please sign in to comment.