From 8786776fd6de87d17dadf4c30cfb067ea9c6f550 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 7 Apr 2020 13:08:30 +1000 Subject: [PATCH] Remove some tests - CI complications --- InvenTree/InvenTree/tests.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py index 75ece9748d..7553d1b10c 100644 --- a/InvenTree/InvenTree/tests.py +++ b/InvenTree/InvenTree/tests.py @@ -54,13 +54,6 @@ class ValidatorTest(TestCase): class TestHelpers(TestCase): """ Tests for InvenTree helper functions """ - def test_is_image(self): - img = os.path.abspath(os.path.join(STATIC_ROOT, 'img/blank_image.png')) - self.assertTrue(helpers.TestIfImage(img)) - - css = os.path.abspath(os.path.join(STATIC_ROOT, 'css/inventree.css')) - self.assertFalse(helpers.TestIfImage(css)) - def test_image_url(self): """ Test if a filename looks like an image """