@staticmethod
    def sale(params={}):

        params["type"] = Transaction.Type.Sale
        return Transaction.create(params)
Test if it create a super user for the database.
dataset/ETHPy150Open braintree/braintree_python/braintree/transaction.py/Transaction.sale--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/djangomod_test.py/DjangomodTestCase.test_createsuperuser