Skip to content

Commit

Permalink
Path lib
Browse files Browse the repository at this point in the history
  • Loading branch information
emdavis02 committed May 8, 2024
1 parent 297f4ba commit bdcf391
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def csv_path(tmp_path):


def test_primary_prediction_not_found(tmp_path):
dummy_video_path = tmp_path / "dummy_video.mp4"
dummy_video_path = Path(tmp_path) / "dummy_video.mp4"
dummy_video_path.write_text("This is a dummy video file.")

# Create a dummy Series instance with a non-existent primary prediction file
Expand All @@ -78,7 +78,7 @@ def test_primary_prediction_not_found(tmp_path):


def test_lateral_prediction_not_found(tmp_path):
dummy_video_path = tmp_path / "dummy_video.mp4"
dummy_video_path = Path(tmp_path) / "dummy_video.mp4"
dummy_video_path.write_text("This is a dummy video file.")

# Create a dummy Series instance with a non-existent primary prediction file
Expand All @@ -96,7 +96,7 @@ def test_lateral_prediction_not_found(tmp_path):


def test_crown_prediction_not_found(tmp_path):
dummy_video_path = tmp_path / "dummy_video.mp4"
dummy_video_path = Path(tmp_path) / "dummy_video.mp4"
dummy_video_path.write_text("This is a dummy video file.")

# Create a dummy Series instance with a non-existent primary prediction file
Expand All @@ -115,7 +115,7 @@ def test_crown_prediction_not_found(tmp_path):

def test_video_loading_error(tmp_path):
# Create a dummy Series instance with an invalid video file path
invalid_video_path = tmp_path / "invalid_video.mp4"
invalid_video_path = Path(tmp_path) / "invalid_video.mp4"

output = io.StringIO()
with redirect_stdout(output):
Expand Down

0 comments on commit bdcf391

Please sign in to comment.