@@ -86,20 +86,20 @@ class CustomVar(cfg.EnvironmentVariable, type=request.param):
86
86
87
87
88
88
@pytest .fixture (scope = "session" )
89
- def add_pandas_duplicate_4_on_ray_execution ():
89
+ def add_pandas_duplicate_on_ray_execution ():
90
90
"""
91
- Add an execution mode with the storage format Pandasduplicate4 and engine Ray.
91
+ Add an execution mode with the storage format Test_Pandasduplicate and engine Ray.
92
92
93
93
This mode's execution is equivalent to PandasOnRay execution.
94
94
"""
95
- cfg .StorageFormat .add_option ("Pandasduplicate4 " )
95
+ cfg .StorageFormat .add_option ("Test_Pandasduplicate " )
96
96
from modin .core .execution .dispatching .factories import factories
97
97
98
- factories .Pandasduplicate4OnRayFactory = factories .PandasOnRayFactory
98
+ factories .Test_PandasduplicateOnRayFactory = factories .PandasOnRayFactory
99
99
cfg .Backend .register_backend (
100
- "NewBackend4 " ,
100
+ "Test_Backend_1 " ,
101
101
cfg .Execution (
102
- storage_format = "Pandasduplicate4 " ,
102
+ storage_format = "Test_Pandasduplicate " ,
103
103
engine = "Ray" ,
104
104
),
105
105
)
@@ -652,22 +652,22 @@ def test_only_storage_format_comes_from_environment(
652
652
self ,
653
653
clear_backend_execution_and_storage_format ,
654
654
order_to_get_in ,
655
- add_pandas_duplicate_4_on_ray_execution ,
655
+ add_pandas_duplicate_on_ray_execution ,
656
656
):
657
657
# To test switching StorageFormat alone, we have to add a new backend
658
658
# that works with the default "Pandas" execution.
659
659
with mock .patch .dict (
660
660
os .environ ,
661
661
{
662
- cfg .StorageFormat .varname : "Pandasduplicate4 " ,
662
+ cfg .StorageFormat .varname : "Test_Pandasduplicate " ,
663
663
},
664
664
):
665
665
cfg .Engine .put ("Ray" )
666
666
for variable in order_to_get_in :
667
667
expected_value = {
668
- cfg .Backend : "Newbackend4 " ,
668
+ cfg .Backend : "Test_Backend_1 " ,
669
669
cfg .Engine : "Ray" ,
670
- cfg .StorageFormat : "Pandasduplicate4 " ,
670
+ cfg .StorageFormat : "Test_Pandasduplicate " ,
671
671
}[variable ]
672
672
assert (
673
673
variable .get () == expected_value
0 commit comments