aiida.backends.tests.tools.importexport.common package

Submodules

Tests for the Archive class.

class aiida.backends.tests.tools.importexport.common.test_archive.TestCommonArchive(methodName='runTest')[source]

Bases: aiida.backends.testbase.AiidaTestCase

Tests for the Archive class.

__module__ = 'aiida.backends.tests.tools.importexport.common.test_archive'
test_context_required()[source]

Verify that accessing a property of an Archive outside of a context manager raises.

test_empty_archive()[source]

Verify that attempting to unpack an empty archive raises a CorruptArchive exception.

test_version_format()[source]

Verify that version_format return the correct archive format version.