"""
TDD for i4p_base
"""
from django.test import TestCase

from .models import Location

class TestI4pBase(TestCase):
    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_something(self):
        """
        That must start with test_
        """
        pass
        












@@ -82,16 +82,69 @@
 cation%0A%0A
+from .templatetags.i4p_tags import url_target_blank%0A%0A
 class Te
@@ -152,16 +152,20 @@
 tI4pBase
+Tags
 (TestCas
@@ -180,174 +180,181 @@
 def 
-setUp(self):%0A        pass%0A%0A    def tearDown(self):%0A        pass%0A%0A    def test_something(self):%0A        %22%22%22%0A        That must start with test_%0A        %22%22%22%0A        pass
+test_url_target_blank(self):%0A        res = url_target_blank(%22%3Ca href='plop.html'%3Ecoin%3C/a%3E%22)%0A        self.assertEqual(res, %22%22%22%3Ca target=%22_blank%22 href='plop.html'%3Ecoin%3C/a%3E%22%22%22)
 %0A   

test for i4p_base template tags