aiida_diff.tests package


aiida_diff.tests.test_calculations module

Tests for calculations


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'

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


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 ‘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 ( and tests written in pytest style (