mirror of
https://github.com/halfwaystudent/douyin-sparkflow.git
synced 2026-09-07 00:17:20 +08:00
fix: prevent duplicate scheduled sends
This commit is contained in:
@@ -305,7 +305,8 @@ class WebUiSafetyTests(unittest.TestCase):
|
||||
self.assertIn("*/20 10-17 * * *", text)
|
||||
self.assertIn("0 18 * * *", text)
|
||||
self.assertIn("20 18 * * *", text)
|
||||
self.assertIn("docker exec", text)
|
||||
self.assertIn("run_scheduled_task.sh", text)
|
||||
self.assertNotIn("docker exec", text)
|
||||
|
||||
def test_overview_api_requires_authentication_and_disables_cache(self):
|
||||
client = TestClient(app_module.app)
|
||||
|
||||
Reference in New Issue
Block a user