From e85b40c90f5689b5a61626c64e6389765def9836 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 22 Feb 2021 22:08:14 +0100 Subject: [PATCH] Fixing test stock --- tests/test_documents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_documents.py b/tests/test_documents.py index 74698676..5ac747b5 100644 --- a/tests/test_documents.py +++ b/tests/test_documents.py @@ -414,6 +414,8 @@ def test_report_devices_stock_control(user: UserClient, user2: UserClient): assert user.user['id'] != user2.user['id'] assert len(export_csv) == 2 + export_csv[0] = export_csv[0][0].split(';') + export_csv[1] = export_csv[1][0].split(';') assert isinstance(datetime.strptime(export_csv[1][5], '%c'), datetime), \ 'Register in field is not a datetime'