Skip to content

Commit 50e8a50

Browse files
committed
Update comments to reflect license changes in tests
Changed comments in test_dataset_update.py to correctly indicate that the tests update the dataset license instead of the title, improving code clarity.
1 parent 5611416 commit 50e8a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_dataset_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_custom_license_update(
9191
api_token=api_token,
9292
)
9393

94-
# Fetch the dataset and update the title
94+
# Fetch the dataset and update the license
9595
dataset = dataverse.load_dataset(pid)
9696
dataset.license = CustomLicense(
9797
termsOfUse="CHANGED",
@@ -151,7 +151,7 @@ def test_custom_license_update_with_predefined_license(
151151
api_token=api_token,
152152
)
153153

154-
# Fetch the dataset and update the title
154+
# Fetch the dataset and update the license
155155
dataset = dataverse.load_dataset(pid)
156156
assert isinstance(dataset.license, License), (
157157
"Dataset license is not a predefined license"

0 commit comments

Comments
 (0)