import pytest
from order import OrderManager
from unittest import mock


@pytest.fixture(scope='session')
def order_manager(session):
    return OrderManager(session)


def test_is_discount(order_manager):
    order_manager.order = mock.Mock(**{'order_amount': 11000})
    total, status = order_manager.is_discount()
    assert total == 11000, status is True

ef58da92f499f69dce3f5152ffbf0334f0425e73
<mask token>

<mask token>


def test_is_discount(order_manager):
    order_manager.order = mock.Mock(**{'order_amount': 11000})
    total, status = order_manager.is_discount()
    assert total == 11000, status is True

<mask token>


@pytest.fixture(scope='session')
def order_manager(session):
    return OrderManager(session)


def test_is_discount(order_manager):
    order_manager.order = mock.Mock(**{'order_amount': 11000})
    total, status = order_manager.is_discount()
    assert total == 11000, status is True

import pytest
from order import OrderManager
from unittest import mock


@pytest.fixture(scope='session')
def order_manager(session):
    return OrderManager(session)


def test_is_discount(order_manager):
    order_manager.order = mock.Mock(**{'order_amount': 11000})
    total, status = order_manager.is_discount()
    assert total == 11000, status is True
