mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove some tests
- CI complications
This commit is contained in:
parent
e94592e42d
commit
8786776fd6
@ -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 """
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user