agent0.chainsync.db.base.interface_test ======================================= .. py:module:: agent0.chainsync.db.base.interface_test .. autoapi-nested-parse:: CRUD tests for CheckpointInfo .. !! processed by numpydoc !! Classes ------- .. autoapisummary:: agent0.chainsync.db.base.interface_test.TestAddrToUsernameInterface Functions --------- .. autoapisummary:: agent0.chainsync.db.base.interface_test.test_query_tables agent0.chainsync.db.base.interface_test.test_drop_table Module Contents --------------- .. py:function:: test_query_tables(dummy_session) Return a list of tables in the database. .. !! processed by numpydoc !! .. py:function:: test_drop_table(dummy_session) Drop a table from the database. .. !! processed by numpydoc !! .. py:class:: TestAddrToUsernameInterface Testing postgres interface for usermap table .. !! processed by numpydoc !! .. py:method:: test_get_addr_to_username(db_session) Testing retrieval of usernames via interface .. !! processed by numpydoc !! .. py:method:: test_get_query_address(db_session) Testing querying by address of addr_to_username via interface .. !! processed by numpydoc !! .. py:method:: test_addr_to_username_insertion_error(db_session) Testing insertion conflicts of addr_to_username via interface .. !! processed by numpydoc !! .. py:method:: test_addr_to_username_force_insertion(db_session) Testing force insertion of addr_to_username via interface .. !! processed by numpydoc !!