|
| setup_method (self) |
|
| teardown_method (self) |
|
| test_non_existing_study_dir (self, tmp_path) |
|
| test_lock_study_create_lock_file (self) |
|
| test_study_with_empty_locker_file_can_be_locked (self, tmp_path) |
|
| test_fail_to_unlock_already_locked_dir (self) |
|
| test_locker_file_contains_multiple_lines_raises_exception (self) |
|
| test_locker_file_with_one_non_valid_line_raises_exception (self) |
|
| test_locker_file_corrupted_pid_is_not_an_int_raises_exception (self) |
|
| test_after_unlock_the_study_can_be_locked_again (self) |
|
| test_unlock_fails_if_study_was_locked_by_another_pid (self) |
|
|
| lock_study (Path study_dir) |
|
|
| study_dir = Path(tempfile.mkdtemp()) |
|
str | lock_file = self.study_dir / ".xpansion_locker" |
|
The documentation for this class was generated from the following file:
- tests/python/test_study_locker.py