You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
486 B

from youtubebeat import BaseTest
import os
class Test(BaseTest):
def test_base(self):
"""
Basic test with exiting Youtubebeat normally
"""
self.render_config_template(
path=os.path.abspath(self.working_dir) + "/log/*"
)
youtubebeat_proc = self.start_beat()
self.wait_until(lambda: self.log_contains("youtubebeat is running"))
exit_code = youtubebeat_proc.kill_and_wait()
assert exit_code == 0