added hooks and plugins files missing

This commit is contained in:
2025-05-27 04:54:41 -05:00
parent 381f78b4e2
commit d920660366
16 changed files with 145 additions and 1 deletions

7
tests/test_events.py Normal file
View File

@ -0,0 +1,7 @@
import app.events as events
def test_event_names_exist():
assert hasattr(events, 'ON_USER_CREATED')
assert hasattr(events, 'ON_SUBMISSION_SAVED')
assert hasattr(events, 'ON_PLANT_TRANSFERRED')
assert hasattr(events, 'ON_GROWLOG_UPDATED')