Fix component entry point test
authorKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 21:16:32 +0000 (16:16 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 23:01:59 +0000 (18:01 -0500)
src/pgwui_develop/TEMPLATE/tests/test_pgwui_TEMPLATE.py.mak

index 25372422d96b4da65d8b5e6118ba4b5011c769ac..fd99471108dc70838bc65fc497d3e4b38eb6603c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019, 2020, 2021 The Meme Factory, Inc.
+# Copyright (C) 2019, 2020, 2021, 2024 The Meme Factory, Inc.
 # http://www.karlpinc.com/
 
 # This file is part of ${component}.
@@ -34,9 +34,9 @@ pytest_plugins = ("pgwui",)
 # Module packaging test
 
 def test_${component.lower()}_is_pgwui_component(pgwui_component_entry_point):
-    '''Ensure that ${component.lower()} is a pgwui.component entry point
+    '''Ensure that ".${component.lower()}" is a pgwui.component entry point
     '''
-    assert pgwui_component_entry_point('${component.lower()}') is True
+    assert pgwui_component_entry_point('.${component.lower()}') is True
 
 
 # establish_settings()