Files
deb-python-django-compressor/compressor/tests/test_finder.py
2015-06-30 23:47:54 +02:00

16 lines
445 B
Python

from django.test import TestCase
from compressor.finders import CompressorFinder
from compressor.storage import CompressorFileStorage
class FinderTestCase(TestCase):
def test_has_correct_storage(self):
finder = CompressorFinder()
self.assertTrue(type(finder.storage) is CompressorFileStorage)
def test_list_returns_empty_list(self):
finder = CompressorFinder()
self.assertEquals(finder.list([]), [])