# coding: utf-8
from django.test import TestCase
from django.template import Template, Context

class YoutubeTagTest(TestCase):
    def setUp(self):
        context = Context({'ID': 1})
        template = Template('{% load youtube %}{% youtube ID %}')
        self.content = template.render(context)

    def test_output(self):
        self.assertIn('<object', self.content)
        self.assertIn('/1', self.content)
