Change name: instance_method_mock_fixture() -> late_instance_mock_fixture()
authorKarl O. Pinc <kop@karlpinc.com>
Sat, 16 Mar 2024 21:26:54 +0000 (16:26 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sat, 16 Mar 2024 21:26:54 +0000 (16:26 -0500)
tests/test_pgwui_upload_core.py
tests/views/test_upload.py

index 782a3161e8ec2d7cf4c7e23c658399bf2cf8d9d8..804ecf91d6366dd04e70198b6a984cf755647ac8 100644 (file)
@@ -41,7 +41,7 @@ def test_pgwui_upload_core_is_pgwui_component(pgwui_component_entry_point):
 
 # includeme()
 
-mock_scan = testing.instance_method_mock_fixture('scan')
+mock_scan = testing.late_instance_mock_fixture('scan')
 
 
 @pytest.mark.unittest
index 4afc17a0670cdc543c35859bf9a7134b420f5143..9eb8c523ff4f535979149480a0a0604ba5170754 100644 (file)
@@ -115,17 +115,17 @@ def isolate_upload_view(monkeypatch, pyramid_request_config):
 
 # BaseTableUploadHandler.__init__()
 
-mock_tuh_init = testing.instance_method_mock_fixture('__init__')
+mock_tuh_init = testing.late_instance_mock_fixture('__init__')
 
 
 # BaseTableUploadHandler.resolve_table()
 
-mock_resolve_table = testing.instance_method_mock_fixture('resolve_table')
+mock_resolve_table = testing.late_instance_mock_fixture('resolve_table')
 
 
 # BaseTableUploadHandler.good_table()
 
-mock_good_table = testing.instance_method_mock_fixture('good_table')
+mock_good_table = testing.late_instance_mock_fixture('good_table')
 
 
 @pytest.fixture