Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-0.7.7/lfs/manage/views/marketing/rating_mails.py   django-lfs(Download)
        orders_sent = []
 
        for order in lfs.marketing.utils.get_orders():
 
            try:

src/d/j/django-lfs-HEAD/lfs/manage/views/marketing/rating_mails.py   django-lfs(Download)
        orders_sent = []
 
        for order in lfs.marketing.utils.get_orders():
 
            try:

src/l/f/lfs-HEAD/manage/views/marketing/rating_mails.py   lfs(Download)
        orders_sent = []
 
        for order in lfs.marketing.utils.get_orders():
 
            try:

src/l/f/lfs-HEAD/marketing/tests.py   lfs(Download)
    def test_get_orders(self):
        """
        """
        # First there is no closed order 
        orders = lfs.marketing.utils.get_orders()
        # But order is closed within the limit, so there is still no order for 
        # rating mails
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 0)
 
 
        # Now there is a order for which there should a rating mail be sent
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 1)
 

src/d/j/django-lfs-HEAD/lfs/marketing/tests.py   django-lfs(Download)
    def test_get_orders(self):
        """
        """
        # First there is no closed order
        orders = lfs.marketing.utils.get_orders()
        # But order is closed within the limit, so there is still no order for
        # rating mails
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 0)
 
 
        # Now there is a order for which there should a rating mail be sent
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 1)
 

src/d/j/django-lfs-0.7.7/lfs/marketing/tests.py   django-lfs(Download)
    def test_get_orders(self):
        """
        """
        # First there is no closed order
        orders = lfs.marketing.utils.get_orders()
        # But order is closed within the limit, so there is still no order for
        # rating mails
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 0)
 
 
        # Now there is a order for which there should a rating mail be sent
        orders = lfs.marketing.utils.get_orders()
        self.assertEqual(len(orders), 1)