aiida.backends.tests.orm package¶
Subpackages¶
Submodules¶
Unit tests for the AuthInfo ORM class.
-
class
aiida.backends.tests.orm.test_authinfos.
TestAuthinfo
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Unit tests for the AuthInfo ORM class.
-
__module__
= 'aiida.backends.tests.orm.test_authinfos'¶
-
Unit tests for the Comment ORM class.
-
class
aiida.backends.tests.orm.test_comments.
TestComment
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Unit tests for the Comment ORM class.
-
__module__
= 'aiida.backends.tests.orm.test_comments'¶
-
Tests for the Computer ORM class.
-
class
aiida.backends.tests.orm.test_computers.
TestComputer
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Tests for the Computer ORM class.
-
__module__
= 'aiida.backends.tests.orm.test_computers'¶
-
-
class
aiida.backends.tests.orm.test_computers.
TestComputerConfigure
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Tests for the configuring of instance of the Computer ORM class.
-
__module__
= 'aiida.backends.tests.orm.test_computers'¶
-
Test for general backend entities
-
class
aiida.backends.tests.orm.test_entities.
TestBackendEntitiesAndCollections
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Test backend entities and their collections
-
__module__
= 'aiida.backends.tests.orm.test_entities'¶
-
Test for the Group ORM class.
-
class
aiida.backends.tests.orm.test_groups.
TestGroups
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Test backend entities and their collections
-
__module__
= 'aiida.backends.tests.orm.test_groups'¶
-
ORM Log tests
-
class
aiida.backends.tests.orm.test_logs.
TestBackendLog
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Test the Log entity
-
__module__
= 'aiida.backends.tests.orm.test_logs'¶
-
test_create_log_unserializable_metadata
()[source]¶ Test that unserializable data will be removed before reaching the database causing an error.
-
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
-
Tests for the ORM mixin classes.
-
class
aiida.backends.tests.orm.test_mixins.
TestSealable
(methodName='runTest')[source]¶ Bases:
aiida.backends.testbase.AiidaTestCase
Tests for the Sealable mixin class.
-
__module__
= 'aiida.backends.tests.orm.test_mixins'¶
-
static
test_change_updatable_attrs_after_store
()[source]¶ Verify that a Sealable node can alter updatable attributes even after storing.
-