Skip to content

Commit

Permalink
add docstring for test
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Feb 8, 2024
1 parent 842edbc commit 18c7994
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/api/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ def test_file_upload(self):
# Assert
assert response.status_code == 200, "File upload failed."

def test_file_replacement(self):
"""
Test case for replacing a file in a dataset.
Steps:
1. Create a dataset using the provided metadata.
2. Upload a datafile to the dataset.
3. Replace the uploaded datafile with a mutated version.
4. Verify that the file replacement was successful and the content matches the expected content.
"""
# Rest of the code...

def test_file_replacement(self):
# Arrange
BASE_URL = os.getenv("BASE_URL").rstrip("/")
Expand Down

0 comments on commit 18c7994

Please sign in to comment.