From bc4ad241808a73500a294d876b4cba21892fdd43 Mon Sep 17 00:00:00 2001 From: Harpo Date: Sat, 30 Dec 2023 14:48:48 -0800 Subject: [PATCH] Fixes lint error --- tests/test_otto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_otto.py b/tests/test_otto.py index b286ae3..953014d 100644 --- a/tests/test_otto.py +++ b/tests/test_otto.py @@ -20,5 +20,5 @@ def test_get_templates(): 'application/json' in response.headers['content-type'] ), 'Content-Type is not JSON' templates = response.json() - assert type(templates) is list, 'Type of response is not List' + assert isinstance(templates, list), 'Type of response is not List' assert len(templates) > 0, 'Templates list is empty!'