Linas Kondrackis
c98698d442
get_instance_variables: test dataclass fields
2024-05-29 11:08:17 +03:00
Linas Kondrackis
f24c6f38a0
get_instance_variables only accepts instance, more tests
2024-05-28 14:09:38 +03:00
Linas Kondrackis
a6c995c9a9
More tests for `get_instance_variables`
2024-05-28 11:14:29 +03:00
pre-commit-ci[bot]
3c3a0792f3
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-28 07:42:33 +00:00
Linas Kondrackis
1d13397503
Dynamically select Detections fields, not hardcoded
2024-05-28 10:38:54 +03:00
SkalskiP
774ac2ed4f
update `letterbox_image` docs
2024-04-09 17:59:19 +02:00
pre-commit-ci[bot]
a7dccfcc0d
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-04-09 15:48:33 +00:00
SkalskiP
233d25d4c5
fix `resize_image` tests after rename
2024-04-09 17:48:13 +02:00
SkalskiP
574c61b6b0
initial commit
2024-04-09 14:28:40 +02:00
pre-commit-ci[bot]
e93224570f
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-04-05 15:51:35 +00:00
SkalskiP
5e9c3fdfa5
refactor tests to use `@pytest.mark.parametrize`
2024-04-05 17:51:08 +02:00
Paweł Pęczek
b76f864f70
Rename decorators to convert images to acceptable format
2024-04-05 17:45:49 +02:00
Paweł Pęczek
de8222203c
Add tests for tiles creation
2024-03-25 19:44:46 +01:00
Paweł Pęczek
4adb2339a4
Add tests and docstrings for utils
2024-03-25 16:02:00 +01:00
Onuralp SEZER
b9573605c7
fix(test): 🧪 pre-commit's whitespace exclude and test case fix for whiespace
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2023-11-15 17:01:57 +03:00
pre-commit-ci[bot]
8025b468a2
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-15 13:42:25 +00:00
SkalskiP
d3fb4ad932
Ignoring W291 for test_file.py
2023-11-15 14:41:38 +01:00
pre-commit-ci[bot]
fcfb57612f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-15 13:37:51 +00:00
SkalskiP
c28aa5aebd
Updated tests to reflect changes in file content handling
2023-11-15 14:37:02 +01:00
Onuralp SEZER
e8f0ceab71
fix: 🐞 test fix
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2023-11-10 22:07:47 +03:00
pre-commit-ci[bot]
08a48a4f5d
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-10 18:26:26 +00:00
SkalskiP
95f4b5c0b8
Add linting rule exceptions for test_file.py
...
Added linting rule exceptions for 'test/utils/test_file.py' in 'pyproject.toml'. Specifically, the 'W291' error which checks for trailing whitespace is ignored for this test file. This is necessary to test whether 'read_txt_file' function in 'test_utils.py' correctly ignores trailing whitespaces in varies test scenarios.
2023-11-10 10:25:59 -08:00
pre-commit-ci[bot]
6211139201
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-10 18:15:39 +00:00
SkalskiP
e416ef4c0e
Refactor import paths and improve text file reading
...
Refactored import paths for test utility methods across multiple test files to align with a recent package restructure. Enriched 'read_txt_file' functionality in 'file.py' allowing to optionally skip empty lines, enhancing flexibility for various use-cases. Added tests for the new 'read_txt_file' behavior in a new 'test_file.py'. Renamed 'utils.py' in test package to 'test_utils.py' for better differentiation from the util package in the source code.
2023-11-10 10:15:08 -08:00