Skip to content

Commit 12a646b

Browse files
PProfiziBClappe
authored andcommitted
Fix the test
1 parent 47665cc commit 12a646b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_any.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ def test_cast_scoping_any(server_type):
124124

125125
@conftest.raises_for_servers_version_under("7.0")
126126
def test_cast_data_sources_any(server_type):
127-
entity = dpf.DataSources(server=server_type, location="test")
127+
entity = dpf.DataSources(server=server_type, result_path="test.pth")
128128
any_dpf = dpf.Any.new_from(entity)
129129
new_entity = any_dpf.cast()
130130

131-
assert entity.location == new_entity.location
131+
assert entity.result_files[0] == new_entity.result_files[0]
132132

133133

134134
@pytest.mark.skipif(

0 commit comments

Comments
 (0)