test_models.py 298 Bytes
Newer Older
1
from django.test import TestCase
2
from ..models import InstanceTemplate
3 4 5 6


class TemplateTestCase(TestCase):
    def test_template_creation(self):
7 8 9
        template = InstanceTemplate(name='My first template',
                                    access_method='ssh', )
        # TODO add images & net