diff options
| author | Fuwn <[email protected]> | 2025-09-15 23:40:34 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-15 23:40:34 -0700 |
| commit | 699966bd2d26683dc20c6d0bd42598f54d786af0 (patch) | |
| tree | 4b2aaa7d26e0505e52f78a2166e7bfe3de57db0c /tests | |
| parent | feat(roleplay_limiter): Add system notice to removal message (diff) | |
| download | umabot-699966bd2d26683dc20c6d0bd42598f54d786af0.tar.xz umabot-699966bd2d26683dc20c6d0bd42598f54d786af0.zip | |
feat(spam_detector): Use UTC time as limit reset time
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_config.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 30ccda7..a160a84 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -15,7 +15,6 @@ def test_config_from_env(): "REDDIT_USERNAME": "test_username", "REDDIT_PASSWORD": "test_password", "SUBREDDIT_NAME": "test_subreddit", - "SPAM_MESSAGE": "Test spam message", "ROLEPLAY_MESSAGE": "Test roleplay message", } @@ -27,7 +26,6 @@ def test_config_from_env(): assert config.username == "test_username" assert config.password == "test_password" assert config.subreddit_name == "test_subreddit" - assert config.spam_message == "Test spam message" assert config.roleplay_message == "Test roleplay message" assert config.check_interval == 60 assert config.max_posts_per_day == 3 @@ -43,7 +41,6 @@ def test_config_validation(): password="", user_agent="test", subreddit_name="", - spam_message="", roleplay_message="" ) @@ -60,7 +57,6 @@ def test_config_validation_success(): password="test", user_agent="test", subreddit_name="test", - spam_message="test", roleplay_message="test" ) |