# Path: apiritif/thread.py
# def get_transaction_handlers():
#     transaction_handlers = get_from_thread_store('transaction_handlers')
#     return transaction_handlers
# 
# def set_transaction_handlers(handlers):
#     put_into_thread_store(transaction_handlers=handlers)


import unittest
import apiritif
from apiritif import get_transaction_handlers, set_transaction_handlers
# coding=utf-8


def add_dummy_handlers():
    handlers = get_transaction_handlers()
    handlers["enter"].append(_enter_handler)
    handlers["exit"].append(_exit_handler)

# Path: apiritif/thread.py
# def get_transaction_handlers():
#     transaction_handlers = get_from_thread_store('transaction_handlers')
#     return transaction_handlers
# 
# def set_transaction_handlers(handlers):
#     put_into_thread_store(transaction_handlers=handlers)


# Path: tests/resources/test_smart_transactions.py
import unittest
import apiritif
from apiritif import get_transaction_handlers, set_transaction_handlers

# coding=utf-8


def add_dummy_handlers():
    handlers = get_transaction_handlers()
    handlers["enter"].append(_enter_handler)
    handlers["exit"].append(_exit_handler)

    set_transaction_handlers(handlers)