From d24a0ca16ba967ef7e151d247c855371b5c638ce Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 10 Feb 2021 11:01:12 +0100 Subject: [PATCH] fixing tests --- tests/test_action.py | 2 +- tests/test_basic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_action.py b/tests/test_action.py index e1361efd..d6f99494 100644 --- a/tests/test_action.py +++ b/tests/test_action.py @@ -584,7 +584,7 @@ def test_save_live_json(app: Devicehub, user: UserClient, client: Client): with open(path_snapshot) as file_snapshot: snapshot = json.loads(file_snapshot.read()) - shutil.rmtree(tmp_snapshots) + shutil.rmtree(tmp_snapshots) assert snapshot['debug'] == debug diff --git a/tests/test_basic.py b/tests/test_basic.py index 53cda3c4..c770f9af 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -119,4 +119,4 @@ def test_api_docs(client: Client): 'scheme': 'basic', 'name': 'Authorization' } - assert len(docs['definitions']) == 124 + assert len(docs['definitions']) == 123