aiida.backends.tests.orm package

Submodules

class aiida.backends.tests.orm.log.TestBackendLog(methodName='runTest')[source]

Bases: aiida.backends.testbase.AiidaTestCase

__module__ = 'aiida.backends.tests.orm.log'
setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Delete all the created log entries

test_create_backend()[source]

Test creating the backend specific backend instance

test_create_log_message()[source]

Test the manual creation of a log entry

test_db_log_handler()[source]

Verify that the db log handler is attached correctly by firing a log message through the regular logging module attached to a calculation node

test_delete_many()[source]

Test deleting all log entries Bit superfluous, given that other tests most likely would fail anyway if this method does not work properly

test_find_filter()[source]

Test the filter option of log.find

test_find_limit()[source]

Test the limit option of log.find

test_find_orderby()[source]

Test the order_by option of log.find