one.tests.alf.test_alf_spec

Unit tests for the one.alf.spec module.

Classes

TestALFErr

Tests for one.alf.exceptions.

TestALFSpec

Tests for ALF specification.

class TestALFSpec(methodName='runTest')[source]

Bases: TestCase

Tests for ALF specification.

test_regex()[source]

Test for one.alf.spec.regex.

test_named_group()[source]

Test for one.alf.spec._named.

test_patterns()[source]

Tests for various spec strings.

test_dromedary()[source]

Test for one.alf.spec._dromedary function.

test_readable_ALF()[source]

Test for one.alf.spec.readableALF function.

test_is_session_folder()[source]

Test for one.alf.spec.is_session_folder.

test_is_uuid_string()[source]

Test for one.alf.spec.is_uuid_string.

test_is_uuid()[source]

Test for one.alf.spec.is_uuid.

test_is_valid()[source]

Test for one.alf.spec.is_valid.

test_to_alf()[source]

Test for one.alf.spec.to_alf.

test_path_pattern()[source]

Test for one.alf.spec.path_pattern.

test_describe(sysout)[source]

Test for one.alf.spec.describe.

test_qc_validate()[source]

Test for one.alf.spec.QC.validate enumeration method.

class TestALFErr(methodName='runTest')[source]

Bases: TestCase

Tests for one.alf.exceptions.

test_ALFError()[source]

Test for one.alf.exceptions.ALFError.

tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.