✅ Updated test to reflect new dotnetcore output
This commit is contained in:
Родитель
e00ba05c37
Коммит
ab07a1a9d3
|
@ -22,18 +22,17 @@ logger = logging.getLogger('test_rtconvert')
|
|||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
# def test_get_version() -> None:
|
||||
# """
|
||||
# Test that .dotnet core can be called --info and that it is
|
||||
# running version 3.1.
|
||||
# """
|
||||
# (stdout, stderr) = get_version()
|
||||
def test_get_version() -> None:
|
||||
"""
|
||||
Test that .dotnet core can be called --info and that it is
|
||||
running version 3.1.
|
||||
"""
|
||||
(stdout, stderr) = get_version()
|
||||
|
||||
# logger.debug("stdout: %s", stdout)
|
||||
# logger.debug("stderr: %s", stderr)
|
||||
logger.debug("stdout: %s", stdout)
|
||||
logger.debug("stderr: %s", stderr)
|
||||
|
||||
# assert stderr == ''
|
||||
# assert 'Microsoft.NETCore.App 3.1.' in stdout
|
||||
assert 'Microsoft.NETCore.App 3.1.' in stdout
|
||||
|
||||
|
||||
def test_echo() -> None:
|
||||
|
|
Загрузка…
Ссылка в новой задаче