agent0.chainsync.db.hyperdrive.schema_test

CRUD tests for Transaction

Classes

TestHyperdriveAddrToNameTable

CRUD tests for HyperdriveAddrToName table

TestCheckpointTable

CRUD tests for checkpoint table

TestPoolConfigTable

CRUD tests for poolconfig table

TestPoolInfoTable

CRUD tests for poolinfo table

Module Contents

class agent0.chainsync.db.hyperdrive.schema_test.TestHyperdriveAddrToNameTable

CRUD tests for HyperdriveAddrToName table

test_create_hyperdrive_addr_to_name(db_session)

Create and entry

test_update_hyperdrive_addr_to_name(db_session)

Update an entry

test_delete_addr_to_username(db_session)

Delete an entry

class agent0.chainsync.db.hyperdrive.schema_test.TestCheckpointTable

CRUD tests for checkpoint table

test_create_checkpoint(db_session: sqlalchemy.orm.Session)

Create and entry

test_update_checkpoint(db_session: sqlalchemy.orm.Session)

Update an entry

test_delete_checkpoint(db_session: sqlalchemy.orm.Session)

Delete an entry

class agent0.chainsync.db.hyperdrive.schema_test.TestPoolConfigTable

CRUD tests for poolconfig table

test_create_pool_config(db_session: sqlalchemy.orm.Session)

Create and entry

test_delete_pool_config(db_session: sqlalchemy.orm.Session)

Delete an entry

class agent0.chainsync.db.hyperdrive.schema_test.TestPoolInfoTable

CRUD tests for poolinfo table

test_create_pool_info(db_session: sqlalchemy.orm.Session)

Create and entry

test_update_pool_info(db_session: sqlalchemy.orm.Session)

Update an entry

test_delete_pool_info(db_session: sqlalchemy.orm.Session)

Delete an entry