Fix template's check_settings entrypoint test
authorKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 23:06:45 +0000 (18:06 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 23:06:45 +0000 (18:06 -0500)
src/pgwui_develop/TEMPLATE/tests/test_check_settings.py.mak

index a8e4391d46a7719192632aecee953fa404b00c6a..f8c2363fdaf5695d055019a875da1d57b49b59d2 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 2020, 2021 The Meme Factory, Inc.  http://www.karlpinc.com/
+# Copyright (C) 2020, 2021, 2024 The Meme Factory, Inc.
+# http://www.karlpinc.com/
 
 # This file is part of ${component}.
 #
@@ -35,9 +36,10 @@ pytest_plugins = ("pgwui",)
 
 def test_check_setting_is_pgwui_check_settings(
         pgwui_check_settings_entry_point):
-    '''Ensure that ${component.lower()} has a pgwui.check_settings entry point
+    '''Ensure that ".${component.lower()}" has a pgwui.check_settings
+    entry point
     '''
-    assert (pgwui_check_settings_entry_point('${component.lower()}.check_settings')
+    assert (pgwui_check_settings_entry_point('.${component.lower()}')
             is True)