family_tests

Tests in tests.family_tests:

Available tests

class tests.family_tests.TestFamily(*args, **kwargs)[source]

Test cases for Family methods.

test_eq_different_families_by_id()[source]

Test that two Family with no name attribute are not equal.

test_eq_different_families_by_name()[source]

Test that two Family with same name are equal.

test_eq_family_with_string_repr_not_existing_family()[source]

Test that Family and string with different name are not equal.

test_eq_family_with_string_repr_same_family()[source]

Test that Family and string with same name are equal.

test_family_load_invalid()[source]

Test that an invalid family raised UnknownFamily exception.

test_family_load_valid()[source]

Test that a family can be loaded via Family.load.

test_ne_family_with_string_repr_different_family()[source]

Test that Family and string with different name are not equal.

class tests.family_tests.TestOldFamilyMethod(*args, **kwargs)[source]

Test cases for old site.Family method.

test_old_site_family_function()[source]

Test deprecated Family function with valid families.

test_old_site_family_function_invalid()[source]

Test that an invalid family raised UnknownFamily exception.