Did I find the right examples for you? yes no

# lfs.marketing.utils.get_orders

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

```        orders_sent = []

for order in lfs.marketing.utils.get_orders():

try:
```

```        orders_sent = []

for order in lfs.marketing.utils.get_orders():

try:
```

```        orders_sent = []

for order in lfs.marketing.utils.get_orders():

try:
```

```    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)

```

```    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)

```

```    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)

```