diff --git a/pause.yaml b/pause.yaml index 0f5ba5d..62137e9 100644 --- a/pause.yaml +++ b/pause.yaml @@ -1,4 +1,4 @@ --- process_name: Pause Media step1: - name: media_pause \ No newline at end of file + name: media_pause diff --git a/test_api/apitest/callbacks.py b/test_api/apitest/callbacks.py index fafce50..0f5ab38 100644 --- a/test_api/apitest/callbacks.py +++ b/test_api/apitest/callbacks.py @@ -66,7 +66,7 @@ def search_and_add(rtc: object, payload: dict) -> None: while True: let = random.choice(string.ascii_letters) ret = requests.get(rtc.base_url + f'plugins/{plugin}/search?text={let}') - if ret.status_code == 200 and ret.text is not '[]\n': + if ret.status_code == 200 and ret.text != '[]\n': break else: let = random.choice(string.ascii_letters)