aiida.backends.tests.tools.data.orbital package

Submodules

Test for the Orbital class and subclasses.

class aiida.backends.tests.tools.data.orbital.test_orbitals.TestOrbital(methodName='runTest')[source]

Bases: aiida.backends.testbase.AiidaTestCase

Test the Orbital base class

__module__ = 'aiida.backends.tests.tools.data.orbital.test_orbitals'
test_required_fields()[source]

Verify that required fields are validated.

test_unknown_fields()[source]

Verify that unkwown fields raise a validation error.

class aiida.backends.tests.tools.data.orbital.test_orbitals.TestRealhydrogenOrbital(methodName='runTest')[source]

Bases: aiida.backends.testbase.AiidaTestCase

Test the Orbital base class

__module__ = 'aiida.backends.tests.tools.data.orbital.test_orbitals'
test_get_name_from_quantum_numbers()[source]

Test if the function get_name_from_quantum_numbers works as expected

test_optional_fields()[source]

Testing (some of) the optional parameters to check that the functionality works (they are indeed optional but accepted if specified, they are validated, …)

test_required_fields()[source]

Verify that required fields are validated.

test_unknown_fields()[source]

Verify that unkwown fields raise a validation error.

test_validation_for_fields()[source]

Verify that the values are properly validated