aserper
0512aaf9b3
Fix test failures and code quality issues
...
- Fix XML parsing in integration tests using textwrap.dedent
- Fix Docker build test by adding load:true to buildx action
- Apply black formatting to all Python files
- All tests should now pass successfully
2025-12-12 23:34:10 -05:00
aserper
c8618ec3b7
Add comprehensive test suite with GitHub Actions CI/CD
...
- Refactor code into testable bot.py module with MastodonRSSBot class
- Create 20+ unit tests covering core functionality and edge cases
- Create 10+ integration tests for RSS parsing and Mastodon posting
- Add GitHub Actions workflow for automated testing
- Unit tests on Python 3.10, 3.11, 3.12
- Integration tests with mocked external services
- Code quality checks (flake8, black, mypy)
- Docker build validation
- Configure pytest with 80% minimum coverage requirement
- Add test dependencies in requirements-test.txt
- Update .gitignore to exclude test artifacts
- Add comprehensive TESTING.md documentation
- Add test status badge to README
- Maintain full backward compatibility with existing setup
2025-12-12 23:30:38 -05:00
Amit Serper
263a6a90b5
Added toot visibility environment variable
2024-01-02 12:56:29 -05:00
Amit Serper
b392c53129
Added toot visibility environment variable
2024-01-02 12:55:11 -05:00
Amit Serper
c3a2ab9329
Update main.py - removed unlisted
2024-01-01 13:36:22 -05:00
Amit Serper
94aee5e001
File is now saved persistenetly
2023-12-05 15:21:42 -05:00
Amit Serper
7e86e9ad97
Visibility of post set to unlisted to prevent spam of the local feed
2023-12-05 07:36:44 -05:00
Amit Serper
4411afb64c
casting
2023-12-04 21:18:35 -05:00
Amit Serper
6eda268557
changed post text
2023-12-04 21:07:16 -05:00
Amit Serper
d7a71f9a30
import time
2023-12-04 21:03:13 -05:00
Amit Serper
7ab5401c97
initial commit
2023-12-04 20:51:18 -05:00