from django.test import TestCase

# Create your tests here.

@@ -30,31 +30,646 @@
 ase%0A
-%0A# Create your tests here.
+from .views import ChartsView%0A%0A# Create your tests here.%0Aclass TestVegaLiteChartsView(TestCase):%0A    def setUpTestCase(self):%0A        self.chart_view = ChartsView()%0A%0A        # Set Vega Lite as template engine%0A        self.chart_view.engine = %22vegalite%22%0A%0A    def test_vega_lite_template(self):%0A        # URL for Vega Lite chart URL%0A        vega_lite_template_url = %22chartflo/vegalite/chart.html%22%0A%0A        # Get chart view template URL%0A        chart_view_template_url = self.chart_view._get_template_url()%0A%0A        # Make sure Chart View URL matches Vega Lite chart URL%0A        self.assertEqual(chart_view_template_url, vega_lite_template_url)
 %0A

Add Vega Lite template test