Beispiel #1
0
 def setUp(self):
     self.o = Order({
         u'id': u'a8cfcb76-7f24-4420-a5ba-d46dd77bdffd',
         u'prepTime': 4,
         u'name': u'Banana Split'
     })
     cooking = MTList()
     cooking.put(self.o)
     self.c = Cook(MTList(), cooking)
Beispiel #2
0
    def test_put(self):

        mtlist = MTList()
        acha_naam = 'a'
        mtlist.put(acha_naam)
        self.assertEqual(acha_naam, mtlist.value[0])
Beispiel #3
0
 def test_get(self):
     mtlist = MTList()
     acha_naam = 'a'
     mtlist.put(acha_naam)
     self.assertEqual(acha_naam, mtlist.get())
     self.assertNotIn(acha_naam, mtlist.value)