tests.core.saving_module package

Submodules

tests.core.saving_module.test_save_data module

class tests.core.saving_module.test_save_data.TestSaveData(methodName='runTest')[source]

Bases: TestCase

Tests for the SaveData class.

test_add_results()[source]

Tests the add_results method to ensure results are added correctly.

test_add_results_comparison()[source]

Tests the add_results method to ensure comparison results are added correctly.

test_add_space()[source]

Tests the add_space method to ensure space is added correctly.

test_add_statistics()[source]

Tests the add_statistics method to ensure statistics are added correctly.

test_add_statistics_descriptions()[source]

Tests the add_statistics_descriptions method to ensure descriptions are added correctly.

test_prepare_data()[source]

Tests the prepare_data method to ensure it returns the correct list structure.

test_save(mock_writer, mock_open)[source]

Tests the save method to ensure data is written correctly to the file.

Module contents