Updated test to reflect new dotnetcore output

This commit is contained in:
Peter Hessey 2022-10-12 09:18:02 +01:00
Родитель e00ba05c37
Коммит ab07a1a9d3
1 изменённых файлов: 9 добавлений и 10 удалений

Просмотреть файл

@ -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: