@@ -0,0 +1,859 @@
+from ztf_sim.Scheduler import Scheduler%0Afrom astropy.time import Time%0A%0Adef test_list_queue():%0A    op_config = '/Users/ebellm/Eric/ZTF/survey_simulator/ztf_sim/sims/test_config.json'%0A    run_config_fullpath='/Users/ebellm/Eric/ZTF/survey_simulator/ztf_sim/config/default.cfg'%0A    scheduler = Scheduler(op_config,run_config_fullpath)%0A    scheduler.set_queue_manager(queue_manager='list')%0A    lod = %5B%7B'field_id':3881,'program_id':1,'subprogram_name':'test','filter_id':2%7D,%7B'field_id':311,'program_id':1,'subprogram_name':'test','filter_id':1%7D,%7B'field_id':312,'program_id':1,'subprogram_name':'test','filter_id':2%7D%5D%0A    scheduler.Q.load_list_queue(lod)%0A    assert( len(scheduler.Q.queue) == 3)%0A    scheduler.Q.load_list_queue(lod,append=True)%0A    assert( len(scheduler.Q.queue) == 6)%0A    #scheduler.Q.queue%0A    #scheduler.Q.next_obs(%7B'current_time':Time.now()%7D)%0A%0A

add tests