added hooks and plugins files missing
This commit is contained in:
7
tests/test_events.py
Normal file
7
tests/test_events.py
Normal 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')
|
Reference in New Issue
Block a user