# Path: pagarme/bank_account.py
# def create(dictionary):
# def find_all():
# def find_by(search_params):
# 
# Path: tests/resources/dictionaries/bank_account_dictionary.py
# BANK_ACCOUNT = {
#     'agencia': '0932',
#     'agencia_dv': '5',
#     'bank_code': '341',
#     'conta': '58054',
#     'conta_dv': '1',
#     'document_number': '26268738888',
#     'legal_name': 'HOUSE TARGARYEN'
# }


from pagarme import bank_account
from tests.resources.dictionaries import bank_account_dictionary


def test_create_bank_account():
    bank = bank_account.create(bank_account_dictionary.BANK_ACCOUNT)
    assert bank['id'] is not None


def test_find_all_bank_accounts():
    all_bank_accounts = bank_account.find_all()
    assert all_bank_accounts is not None


def test_find_by():

# Path: pagarme/bank_account.py
# def create(dictionary):
# def find_all():
# def find_by(search_params):
# 
# Path: tests/resources/dictionaries/bank_account_dictionary.py
# BANK_ACCOUNT = {
#     'agencia': '0932',
#     'agencia_dv': '5',
#     'bank_code': '341',
#     'conta': '58054',
#     'conta_dv': '1',
#     'document_number': '26268738888',
#     'legal_name': 'HOUSE TARGARYEN'
# }


# Path: tests/bank_account_test.py
from pagarme import bank_account
from tests.resources.dictionaries import bank_account_dictionary



def test_create_bank_account():
    bank = bank_account.create(bank_account_dictionary.BANK_ACCOUNT)
    assert bank['id'] is not None


def test_find_all_bank_accounts():
    all_bank_accounts = bank_account.find_all()
    assert all_bank_accounts is not None


def test_find_by():

    bank = bank_account.create(bank_account_dictionary.BANK_ACCOUNT)