diff --git a/src/primaite/simulator/system/applications/application.py b/src/primaite/simulator/system/applications/application.py index 98ccc27f..848e1ef0 100644 --- a/src/primaite/simulator/system/applications/application.py +++ b/src/primaite/simulator/system/applications/application.py @@ -46,7 +46,7 @@ class Application(IOSoftware): """ Register an application type. - :param identifier: Uniquely specifies an application class by name. + :param identifier: Uniquely specifies an application class by name. Used for finding items by config. :type identifier: str :raises ValueError: When attempting to register an application with a name that is already allocated. """ diff --git a/tests/conftest.py b/tests/conftest.py index 171e1996..980e4aa9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -55,7 +55,7 @@ class DummyApplication(Application, identifier="DummyApplication"): """Test Application class""" def __init__(self, **kwargs): - kwargs["name"] = "TestApplication" + kwargs["name"] = "DummyApplication" kwargs["port"] = Port.HTTP kwargs["protocol"] = IPProtocol.TCP super().__init__(**kwargs) @@ -87,7 +87,7 @@ def service_class(): @pytest.fixture(scope="function") def application(file_system) -> DummyApplication: return DummyApplication( - name="TestApplication", port=Port.ARP, file_system=file_system, sys_log=SysLog(hostname="test_application") + name="DummyApplication", port=Port.ARP, file_system=file_system, sys_log=SysLog(hostname="dummy_application") )