Index: main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/tests/test_browser.py
===================================================================
--- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/tests/test_browser.py	(revision 10847)
+++ main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/tests/test_browser.py	(revision 10941)
@@ -30,4 +30,6 @@
 from waeup.kwarapoly.testing import FunctionalLayer
 
+session = datetime.datetime.now().year - 2
+ndftcontainer_name = u'ndft%s' % session
 
 class ApplicantUITest(FunctionalTestCase):
@@ -56,11 +58,11 @@
         self.ndftcontainer = ApplicantsContainer()
         self.ndftcontainer.mode = 'create'
-        self.ndftcontainer.code = u'ndft2011'
+        self.ndftcontainer.code = ndftcontainer_name
         self.ndftcontainer.prefix = u'ndft'
         self.ndftcontainer.application_category = u'ndft'
-        self.ndftcontainer.year = 2011
+        self.ndftcontainer.year = session
         self.ndftcontainer.application_fee = 300.0
-        self.ndftcontainer.title = u'This is the ndft2011 container'
-        self.app['applicants']['ndft2011'] = self.ndftcontainer
+        #self.ndftcontainer.title = u'This is the %s container' % ndftcontainer_name
+        self.app['applicants'][ndftcontainer_name] = self.ndftcontainer
 
         delta = datetime.timedelta(days=10)
@@ -84,10 +86,10 @@
         ndftapplicant.firstname = u'Anna'
         ndftapplicant.lastname = u'Post'
-        self.app['applicants']['ndft2011'].addApplicant(ndftapplicant)
+        self.app['applicants'][ndftcontainer_name].addApplicant(ndftapplicant)
         self.ndftapplication_number = ndftapplicant.application_number
-        self.ndftapplicant = self.app['applicants']['ndft2011'][
+        self.ndftapplicant = self.app['applicants'][ndftcontainer_name][
             self.ndftapplication_number]
-        self.ndftapplicant_path = ('http://localhost/app/applicants/ndft2011/%s'
-            % self.ndftapplication_number)
+        self.ndftapplicant_path = ('http://localhost/app/applicants/%s/%s'
+            % (ndftcontainer_name, self.ndftapplication_number))
 
         self.browser = Browser()
