π§ Test removing `get_version()`
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
b63c799791
ΠΠΎΠΌΠΌΠΈΡ
e00ba05c37
|
@ -22,18 +22,18 @@ logger = logging.getLogger('test_rtconvert')
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
|
||||||
|
|
||||||
def test_get_version() -> None:
|
# def test_get_version() -> None:
|
||||||
"""
|
# """
|
||||||
Test that .dotnet core can be called --info and that it is
|
# Test that .dotnet core can be called --info and that it is
|
||||||
running version 3.1.
|
# running version 3.1.
|
||||||
"""
|
# """
|
||||||
(stdout, stderr) = get_version()
|
# (stdout, stderr) = get_version()
|
||||||
|
|
||||||
logger.debug("stdout: %s", stdout)
|
# logger.debug("stdout: %s", stdout)
|
||||||
logger.debug("stderr: %s", stderr)
|
# logger.debug("stderr: %s", stderr)
|
||||||
|
|
||||||
assert stderr == ''
|
# assert stderr == ''
|
||||||
assert 'Microsoft.NETCore.App 3.1.' in stdout
|
# assert 'Microsoft.NETCore.App 3.1.' in stdout
|
||||||
|
|
||||||
|
|
||||||
def test_echo() -> None:
|
def test_echo() -> None:
|
||||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅