tests.core.exceptions package

Submodules

tests.core.exceptions.test_checks module

class tests.core.exceptions.test_checks.TestChecks(methodName='runTest')[source]

Bases: TestCase

Tests for the Checks class.

test_check_delta()[source]

Test for method checking delta, where the value is correct.

test_check_delta_negative()[source]

Test for method checking delta, where the value is negative.

test_check_delta_too_large()[source]

Test for method checking delta, where the value is too large.

test_check_delta_zero()[source]

Test for method checking delta, where the value is 0.

test_check_truth_table()[source]

Test for method checking the truth table.

test_check_truth_table_fail()[source]

Test for method checking the truth table, where an incorrect one is given.

test_min_max_check()[source]

Test for method checking if the start of time period is smaller or equal to it’s end, for data that can satisfy this condition.

test_min_max_check_fail()[source]

Test for method checking if the start of time period is smaller or equal to it’s end, for data that cannot satisfy this condition.

test_str_to_float()[source]

Test for successful conversion to flat.

test_str_to_float_fail()[source]

Test for unsuccessful conversion to flat.

tests.core.exceptions.test_exceptions module

class tests.core.exceptions.test_exceptions.TestExceptions(methodName='runTest')[source]

Bases: TestCase

Tests for the exceptions classes.

test_delta_is_negative()[source]

Test for message when delta value is a negative number.

test_delta_is_zero()[source]

Test for message when delta value is equal to zero.

test_min_higher_than_max()[source]

Test for message when start of time period is greater than it’s end.

test_no_method_chosen()[source]

Test for message when no numerical method was chosen.

test_str_to_float_error()[source]

Test for message when a character is not a number.

test_too_large_delta()[source]

Test for message when delta value is too big.

Module contents