aiida_diff.tests package

Submodules

aiida_diff.tests.test_calculations module

Tests for calculations

aiida_diff.tests.test_calculations.test_process(diff_code)[source]

Test running a calculation note this does not test that the expected outputs are created of output parsing

aiida_diff.tests.test_cli module

Tests for command line interface.

class aiida_diff.tests.test_cli.TestDataCli(methodName='runTest')[source]

Bases: aiida.manage.tests.unittest_classes.PluginTestCase

Test verdi data cli plugin.

__module__ = 'aiida_diff.tests.test_cli'
setUp()[source]

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

test_data_diff_export()[source]

Test ‘verdi data diff export’

Tests that it can be reached and that it shows the contents of the node we have set up.

test_data_diff_list()[source]

Test ‘verdi data diff list’

Tests that it can be reached and that it lists the node we have set up.

Module contents

Tests for the plugin.

Includes both tests written in unittest style (test_cli.py) and tests written in pytest style (test_calculations.py).