<filename>tests/test_installrestserver.py
"""Testing installrestserver__init__()"""

from pathlib import Path
from beetools.beearchiver import Archiver
import installrestserver


_PROJ_DESC = __doc__.split("\n")[0]
_PROJ_PATH = Path(__file__)


b_tls = Archiver(_PROJ_DESC, _PROJ_PATH)


class TestInstallRESTServer:
    def test__init__(self, env_setup_self_destruct):
        """Assert class __init__"""
        env_setup = env_setup_self_destruct
        t_installrestserver = installrestserver.InstallRESTServer(
            "InstallRESTServer", env_setup.dir
        )

        assert t_installrestserver.success
        pass

    def test_method_1(self, env_setup_self_destruct):
        """Assert class __init__"""
        env_setup = env_setup_self_destruct
        t_installrestserver = installrestserver.InstallRESTServer(
            "InstallRESTServer", env_setup.dir
        )

        assert t_installrestserver.method_1("THis is a test message for Method_1")
        pass

    def test_do_examples(self):
        installrestserver.do_examples()


del b_tls

<filename>tests/test_installrestserver.py
"""Testing installrestserver__init__()"""

from pathlib import Path
from beetools.beearchiver import Archiver
import installrestserver


_PROJ_DESC = __doc__.split("\n")[0]
_PROJ_PATH = Path(__file__)


b_tls = Archiver(_PROJ_DESC, _PROJ_PATH)


class TestInstallRESTServer:
    def test__init__(self, env_setup_self_destruct):
        """Assert class __init__"""
        env_setup = env_setup_self_destruct
        t_installrestserver = installrestserver.InstallRESTServer(
            "InstallRESTServer", env_setup.dir
        )

        assert t_installrestserver.success
        pass

    def test_method_1(self, env_setup_self_destruct):
        """Assert class __init__"""
        env_setup = env_setup_self_destruct
        t_installrestserver = installrestserver.InstallRESTServer(
            "InstallRESTServer", env_setup.dir
        )

        assert t_installrestserver.method_1("THis is a test message for Method_1")
        pass

    def test_do_examples(self):
        installrestserver.do_examples()


del b_tls

Testing installrestserver__init__() Assert class __init__ Assert class __init__