cc-4105: Made config object persist data after being garbage collected. Added more tests
This commit is contained in:
parent
76cac68fe7
commit
12aa76b0a8
6 changed files with 211 additions and 4 deletions
24
python_apps/media-monitor2/tests/test_config.cfg
Normal file
24
python_apps/media-monitor2/tests/test_config.cfg
Normal file
|
@ -0,0 +1,24 @@
|
|||
api_client = "airtime"
|
||||
|
||||
# where the binary files live
|
||||
bin_dir = '/usr/lib/airtime/media-monitor'
|
||||
|
||||
# where the logging files live
|
||||
log_dir = '/var/log/airtime/media-monitor'
|
||||
|
||||
|
||||
############################################
|
||||
# RabbitMQ settings #
|
||||
############################################
|
||||
rabbitmq_host = 'localhost'
|
||||
rabbitmq_user = 'guest'
|
||||
rabbitmq_password = 'guest'
|
||||
rabbitmq_vhost = '/'
|
||||
|
||||
############################################
|
||||
# Media-Monitor preferences #
|
||||
############################################
|
||||
check_filesystem_events = 5 #how long to queue up events performed on the files themselves.
|
||||
check_airtime_events = 30 #how long to queue metadata input from airtime.
|
||||
|
||||
list_value_testing = 'val1', 'val2', 'val3'
|
Loading…
Add table
Add a link
Reference in a new issue