Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Nov 21, 2024
1 parent 09a519a commit 678aad5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_initialize_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,23 @@ def test_project_name_config(setup_project_not_aligned_data):


def test_existing_project():
project = "test_existing_project"
project_name = "test_existing_project"
videos = ["./tests/tests_project_sample_data/cropped_video.mp4"]
poses_estimations = ["./tests/tests_project_sample_data/cropped_video.csv"]
working_directory = "./tests"

config_path_creation = init_new_project(
project_name=project,
project_name=project_name,
videos=videos,
poses_estimations=poses_estimations,
source_software="DeepLabCut",
working_directory=working_directory,
)
config_path_duplicated = init_new_project(
project_name=project,
project_name=project_name,
videos=videos,
poses_estimations=poses_estimations,
source_software="DeepLabCut",
working_directory=working_directory,
)
assert config_path_creation == config_path_duplicated
Expand Down

0 comments on commit 678aad5

Please sign in to comment.