Spaces:
Running
Running
File size: 578 Bytes
a50881d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import unittest
from test_base import BaseChunkerTest
from Chunker import CodeChunker
class TestCodeChunkerCSS(BaseChunkerTest):
def setUp(self):
super().setUp()
self.code_chunker = CodeChunker(file_extension='css')
def test_chunk_css_with_media_query(self):
css_code = self.mock_codebase['media_queries.css']
self.run_chunker_test(css_code)
def test_chunk_css_with_simple_css(self):
css_code = self.mock_codebase['simple_styles.css']
self.run_chunker_test(css_code)
if __name__ == '__main__':
unittest.main() |