def test_queue_sleep_2(scan_task): # sillt test just to make sure that the while true actually ends. s = Scanning() scan_task.params['delay'] = "test" with pytest.raises(ValueError): s._queue_sleep(scan_task)
def test_queue_sleep_1(scan_task, FakeSTMessenger): # sillt test just to make sure that the while true actually ends. s = Scanning() scan_task.params['delay'] = 1 scan_task.scanq = FakeSTMessenger() s._queue_sleep(scan_task)
def test_delay(scan_task, FakeSTMessenger): s = Scanning() scan_task.scanq = FakeSTMessenger() s._queue_sleep(scan_task)
def test_delay(scan_task, FakeSTMessenger): s = Scanning() scan_task.scanq=FakeSTMessenger() s._queue_sleep(scan_task)
def test_queue_sleep_1(scan_task,FakeSTMessenger): # sillt test just to make sure that the while true actually ends. s = Scanning() scan_task.params['delay'] = 1 scan_task.scanq=FakeSTMessenger() s._queue_sleep(scan_task)