From: Karl O. Pinc Date: Thu, 21 Mar 2024 21:16:32 +0000 (-0500) Subject: Fix component entry point test X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=e9b864dd34c114e0aa676647cd6b6671b2ec9f09;p=pgwui_develop Fix component entry point test --- diff --git a/src/pgwui_develop/TEMPLATE/tests/test_pgwui_TEMPLATE.py.mak b/src/pgwui_develop/TEMPLATE/tests/test_pgwui_TEMPLATE.py.mak index 2537242..fd99471 100644 --- a/src/pgwui_develop/TEMPLATE/tests/test_pgwui_TEMPLATE.py.mak +++ b/src/pgwui_develop/TEMPLATE/tests/test_pgwui_TEMPLATE.py.mak @@ -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()