forked from rc/aircox
- Writes tests for aircox streamer application; - Add test utilities in aircox Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: rc/aircox#110
This commit is contained in:
10
aircox_streamer/tests/fake_modules/atexit.py
Normal file
10
aircox_streamer/tests/fake_modules/atexit.py
Normal file
@ -0,0 +1,10 @@
|
||||
registered = []
|
||||
"""Items registered by register()"""
|
||||
|
||||
|
||||
def register(func, *args, **kwargs):
|
||||
registered.append(func)
|
||||
|
||||
|
||||
def unregister(func):
|
||||
registered.remove(func)
|
Reference in New Issue
Block a user