Commits

Guido Draheim committed ec16a93

generated

Comments (0)

Files changed (3)

 	PYTHONPATH=src \
 	python src/tests/computer_test.py -vv $(CHECK)
 test_%:
-	@ func=`grep "def $@" src/tests/computer_test.py \
+	@ func1=`grep "def $@" src/tests/computer_test.py \
 	    | sed -e "s/.*def  *//" -e "s/[(].*//" -e q` \
-	; test -z "$$func" && func="$@" \
-	; echo $(MAKE) check CHECK=DvbComputerTests.$$func \
-	;      $(MAKE) check CHECK=DvbComputerTests.$$func
+	; func2=`grep "def $@" src/tests/computer_tests.py \
+	    | sed -e "s/.*def  *//" -e "s/[(].*//" -e q` \
+	; if test -n "$$func1" \
+	; then echo $(MAKE) check CHECK=DvbComputerTests.$$func1 \
+	;           $(MAKE) check CHECK=DvbComputerTests.$$func1 \
+	; elif test -n "$$func2" \
+	; then echo $(MAKE) checks CHECK=DvbGeneratedTests.$$func2 \
+	;           $(MAKE) checks CHECK=DvbGeneratedTests.$$func2 \
+	; else echo "unknown $@"; exit 1 \
+	; fi
+
+genchecks:
+	PYTHONPATH=src \
+	python src/tests/computer_test.py ... 
+checks:
+	PYTHONPATH=src \
+	python src/tests/computer_tests.py -vv $(CHECK)
 
 
 RPMROOT=$(shell pwd)/rpm

src/tests/computer_test.py

         self.computer = DvbCronRecordingPlanComputer(self.env)
         self.computer.logg = _logg
         self.computer._localtime = time.localtime(1334887400)
+    # === END PREFIX ===
     def test_01_options(self):
         self.assertEqual("plan4", self.computer.algorithm, )
         self.assertIn("3sat", self.computer.rankup_channels)
   {  [00:33-01:10]+3 3sat@0 (23 4 0) 'A3' },
   {  [01:13-01:50]+5 arte@0 (23 4 0) 'A4' }]}"""
         self.assertEqual(E, unicode(res))
+    def test_48_4entries_delete_spanover(self): 
+        _logg.error(" FIXME all wrong ")
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertNotIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:20","00:30","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","01:30","0", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:40","01:10","3", "", "22.04.", "ok",1)
+        a4 = Entry("arte","A4","01:10","01:50","5", "", "23.04.", "ok",1)
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3, a4])
+        self.logg.info("RESULT:%s", res)
+        E = u"""
+{[{  [23:20-00:30]+3 arte@0 (22 4 6) 'A1' },
+  {  [00:33-01:10]+3 3sat@0 (23 4 0) 'A3' },
+  {  [01:13-01:50]+5 arte@0 (23 4 0) 'A4' },
+  {  [--DELETED--]   pro7@0 (23 4 0) 'A2' }]}"""
+        self.assertEqual(E, unicode(res))
+    def test_49_4entries_delete_spantoend(self): 
+        _logg.error(" FIXME all wrong ")
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertNotIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:20","00:30","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","01:50","0", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:40","01:10","3", "", "22.04.", "ok",1)
+        a4 = Entry("arte","A4","01:10","01:50","5", "", "23.04.", "ok",1)
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3, a4])
+        self.logg.info("RESULT:%s", res)
+        E = u"""
+{[{  [23:20-00:30]+3 arte@0 (22 4 6) 'A1' },
+  {  [00:33-01:10]+3 3sat@0 (23 4 0) 'A3' },
+  {  [01:13-01:50]+5 arte@0 (23 4 0) 'A4' },
+  {  [--DELETED--]   pro7@0 (23 4 0) 'A2' }]}"""
+        self.assertEqual(E, unicode(res))
+    def test_49_4entries_nondelete_move_behind(self): 
+        _logg.error(" FIXME all wrong ")
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertNotIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:20","00:30","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","02:20","0", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:40","01:10","3", "", "22.04.", "ok",1)
+        a4 = Entry("arte","A4","01:10","01:50","5", "", "23.04.", "ok",1)
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3, a4])
+        self.logg.info("RESULT:%s", res)
+        E = u"""
+{[{  [23:20-00:30]+3 arte@0 (22 4 6) 'A1' },
+  {  [00:33-01:10]+3 3sat@0 (23 4 0) 'A3' },
+  {  [01:13-01:50]+5 arte@0 (23 4 0) 'A4' },
+  {  [01:55-02:20]+0 pro7@0 (23 4 0) 'A2' }]}"""
+        self.assertEqual(E, unicode(res))
+    def test_50_4entries_nondelete_move_behind2(self): 
+        _logg.error(" FIXME all wrong ")
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertNotIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:20","00:30","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:20","02:20","0", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:40","01:10","3", "", "22.04.", "ok",1)
+        a4 = Entry("arte","A4","01:10","01:50","5", "", "23.04.", "ok",1)
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3, a4])
+        self.logg.info("RESULT:%s", res)
+        E = u"""
+{[{  [23:20-00:30]+3 arte@0 (22 4 6) 'A1' },
+  {  [00:33-01:10]+3 3sat@0 (23 4 0) 'A3' },
+  {  [01:13-01:50]+5 arte@0 (23 4 0) 'A4' },
+  {  [01:55-02:20]+0 pro7@0 (23 4 0) 'A2' }]}"""
+        self.assertEqual(E, unicode(res))
+        
+# === START POSTFIX ===
+def _generate(f):
+    x = """        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+    """
+    y = """        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    """
+    
+    times = [ "23:30",  "23:40",  "23:50",  "00:00",  "00:10",  "00:20"]
+    dates = [ "22.04.", "22.04.", "22.04.", "23.04.", "23.04.", "23.04."]
+    channels = ["arte", "pro7", "3sat"]
+    for a1 in xrange(len(times)-2):
+        for a2 in xrange(a1+1, len(times)-1):
+            for a3 in xrange(a2+1, len(times)):
+                for e1 in xrange(1, len(times)):
+                    for e2 in xrange(e1+1, len(times)-2):
+                        for e3 in xrange(e2+2, len(times)-1):
+                            for c1 in xrange(len(channels)):
+                                for c2 in xrange(len(channels)):
+                                    for c3 in xrange(len(channels)):
+                                        print >> f, "    def test_%s%s%s%s%s%s%s%s%s(self):" % (a1,a2,a3,e1,e2,e3,c1,c2,c3)
+                                        print >> f, x.rstrip()
+                                        print >> f, '        a1 = Entry("%s","A1","%s","%s","3", "", "%s", "ok",1)' % (channels[c1], times[a1], times[e1], dates[a1])
+                                        print >> f, '        a2 = Entry("%s","A2","%s","%s","3", "", "%s", "ok",1)' % (channels[c2], times[a2], times[e2], dates[a2])
+                                        print >> f, '        a3 = Entry("%s","A3","%s","%s","3", "", "%s", "ok",1)' % (channels[c3], times[a3], times[e3], dates[a3])
+                                        print >> f, y.rstrip()
+                
+
+def generate():
+    f = open(str(__file__).replace("test.py", "tests.py"), "w")
+    with f:
+        prefix = True
+        postfix = False
+        for line in open(__file__):
+            line = line.replace("DvbComputerTests", "DvbGeneratedTests")
+            if prefix:
+                f.write(line)
+                if ("END %s" % "PREFIX") in line:
+                    prefix = False
+            elif not postfix: 
+                if ("START %s" % "POSTFIX") in line:
+                    postfix = True
+                    _generate(f)
+            if postfix:
+                f.write(line)
 
 if __name__ == "__main__":
     import sys
         if arg.startswith("-vv"):
             print "log level DEBUG"
             _logg.setLevel(logging.DEBUG)
+        if arg.startswith("..."):
+            generate()
+            sys.exit(0)
     unittest.main()

src/tests/computer_tests.py

+import unittest
+import time
+
+import logging
+_logg = logging.getLogger("TESTS")
+if not _logg.handlers:
+    _logg.addHandler(logging.StreamHandler())
+    _logg.setLevel(logging.INFO)
+
+from dvbcronrecording.computer import DvbCronRecordingPlanComputer
+from trac.core import ComponentManager
+
+# fix this...
+def get(self, instance, owner):
+     if instance is None:
+         return self
+     config = getattr(instance, 'config', None)
+     if config and isinstance(config, Configuration):
+         section = config[self.section]
+         value = self.accessor(section, self.name, self.default)
+         return value
+     return self.default
+ 
+from trac.config import Option
+Option.__get__ = get
+
+import collections
+Channel = collections.namedtuple("Channel",["channelname", "adapter"])
+Entry = collections.namedtuple("Entry",["channelname","title",
+    "newtime","endtime", "extratime", "weekday", "onlydate", "status", "priority"])
+Locale = collections.namedtuple("Locale",["language"])
+Request = collections.namedtuple("Request",["locale"])
+
+class DvbGeneratedTests(unittest.TestCase):
+    env = None
+    logg = _logg
+    def setUp(self):
+        if self.env is None:
+            self.env = ComponentManager() 
+        self.computer = DvbCronRecordingPlanComputer(self.env)
+        self.computer.logg = _logg
+        self.computer._localtime = time.localtime(1334887400)
+    # === END PREFIX ===
+    def test_012124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124022(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124100(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124101(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124102(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124110(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124111(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124112(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124120(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124121(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124122(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124200(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124201(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124202(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124210(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124211(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124212(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124220(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124221(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_012124222(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","23:50","00:10","3", "", "22.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124022(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124100(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124101(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124102(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124110(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124111(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124112(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124120(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124121(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124122(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124200(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124201(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124202(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124210(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124211(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124212(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124220(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124221(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_013124222(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124022(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124100(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124101(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124102(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124110(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124111(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124112(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124120(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124121(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124122(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124200(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124201(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124202(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124210(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124211(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124212(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124220(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124221(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_014124222(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124022(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124100(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124101(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124102(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124110(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124111(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124112(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124120(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124121(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124122(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124200(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124201(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124202(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124210(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124211(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124212(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124220(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124221(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_015124222(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:40","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:20","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124022(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124100(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124101(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124102(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124110(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124111(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124112(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124120(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124121(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124122(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("pro7","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124200(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124201(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124202(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124210(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124211(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124212(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124220(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124221(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_023124222(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("3sat","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:00","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124000(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124001(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124002(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("arte","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124010(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124011(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("pro7","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124012(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("pro7","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("3sat","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124020(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)
+        a2 = Entry("3sat","A2","23:50","23:50","3", "", "22.04.", "ok",1)
+        a3 = Entry("arte","A3","00:10","00:10","3", "", "23.04.", "ok",1)
+        #
+        req = Request(Locale("de"))
+        res = self.computer.plan4(req, [a1, a2, a3])
+        self.logg.info("RESULT:%s", res)
+    def test_024124021(self):
+        #
+        channellist = [Channel("pro7",0),Channel("arte",0),Channel("arte",1),Channel("3sat",0)]
+        self.computer.set_adapters_from_channels_list(channellist)
+        self.assertIn(u"1", self.computer.adapterlist())
+        a1 = Entry("arte","A1","23:30","23:40","3", "", "22.04.", "ok",1)