File: test_commands.py

package info (click to toggle)
django-distill 3.2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 316 kB
  • sloc: python: 2,144; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from importlib import import_module
from django.test import TestCase


class DjangoDistillCommandTestSuite(TestCase):

    def test_command_imports_distill_local(self):
        import_module('django_distill.management.commands.distill-local')

    def test_command_imports_distill_publish(self):
        import_module('django_distill.management.commands.distill-publish')

    def test_command_imports_distill_test_publish(self):
        import_module('django_distill.management.commands.distill-test-publish')