From c9885681ecd490532b0085a836f862b0c1c84b78 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Thu, 7 Feb 2019 22:13:04 +0100
Subject: [PATCH] Make the linters happier

---
 libmat2/office.py             | 2 +-
 tests/test_corrupted_files.py | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/libmat2/office.py b/libmat2/office.py
index 97b0762..0c9caa8 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -2,7 +2,7 @@ import logging
 import os
 import re
 import zipfile
-from typing import Dict, Set, Pattern, Tuple, Union, Any
+from typing import Dict, Set, Pattern, Tuple, Any
 
 import xml.etree.ElementTree as ET  # type: ignore
 
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py
index f6cdfbc..b2e7798 100644
--- a/tests/test_corrupted_files.py
+++ b/tests/test_corrupted_files.py
@@ -67,15 +67,9 @@ class TestCorruptedEmbedded(unittest.TestCase):
         os.remove('./tests/data/clean.docx')
 
     def test_odt(self):
-        expected = {
-                'create_system': 'Weird',
-                'date_time': '2018-06-10 17:18:18',
-                'meta.xml': 'harmful content'
-                }
         shutil.copy('./tests/data/embedded_corrupted.odt', './tests/data/clean.odt')
         parser, _ = parser_factory.get_parser('./tests/data/clean.odt')
         self.assertFalse(parser.remove_all())
-        meta = parser.get_meta()
         self.assertTrue(parser.get_meta())
         os.remove('./tests/data/clean.odt')
 
-- 
GitLab