diff --git a/_integration_test.py b/_integration_test.py index afe0bfe..ac72522 100644 --- a/_integration_test.py +++ b/_integration_test.py @@ -15,6 +15,11 @@ from pathlib import Path sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +# 테스트 중에는 공휴일 자동 동기화(백그라운드 네트워크 스레드)를 비활성화. +# 이 스레드가 SQLite 연결을 잡고 있으면 임시 DB의 os.remove가 WinError 32(파일 사용 중)로 +# 실패함 (S2/S31 등). DB 인스턴스 생성 전에 설정해야 효과 있음. +os.environ.setdefault('CLOCKOUT_DISABLE_HOLIDAY_SYNC', '1') + PASS = [] FAIL = [] WARN = []