Skip to content

Conversation

@Orinks
Copy link
Owner

@Orinks Orinks commented Feb 2, 2026

Summary

Removes the old accessibletalkingclock/ directory that was left over from the project rename to AccessiClock.

Problem

The duplicate tests/ folder caused pytest ImportPathMismatchError during collection:

ImportPathMismatchError: ('tests.conftest', 'tests/conftest.py', 'accessibletalkingclock/tests/conftest.py')

Changes

  • Deleted accessibletalkingclock/ directory (~2700 lines of obsolete code)
  • Fixed unused variable in scripts/generate_sounds.py

Testing

  • All 100 tests pass
  • Lint passes

Fixes #6

Orinks and others added 2 commits February 2, 2026 02:03
Removes the old accessibletalkingclock/ directory that was left over from
the project rename. This duplicate tests/ folder caused pytest
ImportPathMismatchError during collection.

Also fixes an unused variable in scripts/generate_sounds.py.

Fixes #6
Bring audio module coverage from 65% to 96%:
- player.py: 66% → 94%
- tts_engine.py: 63% → 97%

Added comprehensive tests for:
- BASS audio init/cleanup with sound_lib
- Fallback playback via playsound3
- Volume control during active playback
- Stream lifecycle (create, stop, free)
- pyttsx3 engine init, speech, and error handling
- Voice enumeration and selection
- Rate property with engine sync
- Time formatting edge cases (midnight, noon, quarter-to)
- Error handling and graceful degradation

All external audio dependencies (sound_lib, playsound3, pyttsx3) are mocked.

Closes #8
@Orinks
Copy link
Owner Author

Orinks commented Feb 4, 2026

Will handle directory cleanup separately.

@Orinks Orinks closed this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove obsolete accessibletalkingclock directory (breaks pytest)

2 participants