Fix entrypoint tests
authorKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 23:04:25 +0000 (18:04 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Thu, 21 Mar 2024 23:38:57 +0000 (18:38 -0500)
tests/test_check_settings.py
tests/test_pgwui_bulk_upload.py

index 4d1f6a7e2bcacbc7c439c949389e7538e6d8eeed..9d2290602a2f283db7737ca6b56da3ab7821a93e 100644 (file)
@@ -36,8 +36,7 @@ def test_check_setting_is_pgwui_check_settings(
         pgwui_check_settings_entry_point):
     '''Ensure that pgwui_bulk_upload has a pgwui.check_settings entry point
     '''
-    assert (pgwui_check_settings_entry_point(
-        'pgwui_bulk_upload.check_settings') is True)
+    assert pgwui_check_settings_entry_point('.pgwui_bulk_upload') is True
 
 
 # Mocks
index 048ccb4633d3d704010428915aaf141306124ee8..49017f90bd97593e6839d496758c493e2c5f8c25 100644 (file)
@@ -34,9 +34,9 @@ pytest_plugins = ("pgwui",)
 # Module packaging test
 
 def test_pgwui_bulk_upload_is_pgwui_component(pgwui_component_entry_point):
-    '''Ensure that pgwui_bulk_upload is a pgwui.component entry point
+    '''Ensure that ".pgwui_bulk_upload" is a pgwui.component entry point
     '''
-    assert pgwui_component_entry_point('pgwui_bulk_upload') is True
+    assert pgwui_component_entry_point('.pgwui_bulk_upload') is True
 
 
 # establish_settings()