File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 30
30
import unittest2 # type: ignore
31
31
from mock import MagicMock , Mock , patch
32
32
33
+ from hdl_checker .tests import linuxOnly
34
+
33
35
from hdl_checker .builder_utils import BuilderName , getBuilderByName
34
36
from hdl_checker .builders .fallback import Fallback
35
37
from hdl_checker .builders .ghdl import GHDL
@@ -133,6 +135,7 @@ def test_RejectsInvalidFormats(self, popen):
133
135
def test_HandlesNoConnection (self , * _ ):
134
136
self .assertIsNone (_getLatestReleaseVersion ())
135
137
138
+ @linuxOnly
136
139
def test_UnmockedCallWorks (self ):
137
140
self .assertIsNotNone (_getLatestReleaseVersion ())
138
141
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ def _getLatestReleaseVersion():
421
421
timer .cancel ()
422
422
423
423
if not stdout or stderr :
424
- _logger .info ("Couldn't fetch latest tag from %s" , REPO_URL )
424
+ _logger .info ("Couldn't fetch latest tag from %s: %s " , REPO_URL , stderr . decode () )
425
425
return None
426
426
427
427
tags = [x .decode () for x in stdout .splitlines ()]
You can’t perform that action at this time.
0 commit comments