Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganise test fixtures #380

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
724d306
Use consistent test ids (starting from `id_0`)
lochhh Jan 20, 2025
577c41c
Use consistent names for fixtures `with_nan`
lochhh Jan 20, 2025
23e183f
Align uniform linear motion fixture with bboxes fixture
lochhh Jan 20, 2025
44ff5fe
Replace poses fixture in test_filtering
lochhh Jan 20, 2025
4f46c36
Group filtering tests by common dataset params
lochhh Jan 21, 2025
ce00f25
Replace poses fixture in test_kinematics
lochhh Jan 21, 2025
257a894
Replace poses fixture in test_save_poses
lochhh Jan 21, 2025
f789383
Replace poses fixture in datasets missing dim and var
lochhh Jan 21, 2025
638dd89
Replace poses fixture in test_reports
lochhh Jan 21, 2025
ce255cc
Replace poses fixture in test_io
lochhh Jan 21, 2025
87288f7
Replace poses fixture in test_logging
lochhh Jan 21, 2025
831a26f
Remove valid_poses_dataset fixtures
lochhh Jan 21, 2025
ea93aa7
Rename valid_poses_dataset_uniform_linear_motion fixtures
lochhh Jan 21, 2025
87b1633
Replace valid_position_array fixtures in test_load_poses
lochhh Jan 21, 2025
55a14f8
Replace valid_position_array fixtures in test_datasets_validators
lochhh Jan 21, 2025
a9781c7
Remove valid_position_array fixture
lochhh Jan 21, 2025
70f105e
Rename valid_poses_array_uniform_linear_motion
lochhh Jan 21, 2025
d6695cc
Fix newlines
lochhh Jan 21, 2025
676f7a3
Fix up rebase merge error
lochhh Jan 22, 2025
11a155f
Modularise fixtures
lochhh Jan 23, 2025
6e6948d
Group kinematics tests by common params
lochhh Jan 23, 2025
d4013fc
Shorten arg name
lochhh Jan 23, 2025
80c3413
Refactor fixtures
lochhh Jan 24, 2025
10c6df5
Rename datasets.py to data.py
lochhh Jan 24, 2025
551f0ad
Swap poses "centroid" and "left" keypoint NaNs
lochhh Jan 24, 2025
ac06713
Fix up filtering test expectations after rebase
lochhh Jan 27, 2025
a3f258a
Suggestion to move dataset validator fixture under helpers
sfmig Jan 28, 2025
0ecb40b
Apply suggestions from code review
lochhh Jan 30, 2025
d96146d
Fix up `valid_dlc_poses_df` rename and E501
lochhh Jan 30, 2025
174b644
Rename dataset fixtures module
lochhh Jan 30, 2025
6e04525
Fix newlines
lochhh Jan 30, 2025
658da8d
Update fixture descriptions
lochhh Jan 30, 2025
1380367
Apply suggestions from code review
lochhh Jan 30, 2025
86f8cc3
Update anipose fixture descriptions
lochhh Jan 30, 2025
57874bf
Rename `wrong_extension`-related fixtures
lochhh Jan 30, 2025
37cecae
Refer to fixtures in test descriptions
lochhh Jan 30, 2025
8bd6ef1
Rename `compute_time_derivative` test + parametrise expectations
lochhh Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repos:
args: [--fix=lf]
- id: name-tests-test
args: ["--pytest-test-first"]
exclude: ^tests/fixtures/
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down
Loading
Loading