one.tests.alf.test_alf_files

Unit tests for the one.alf.files module.

Classes

TestALFGet

Tests for path extraction functions

TestAlfParse

Tests for ALF parsing methods

TestFilesDeprecation

Test files module warns of deprecation.

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

Bases: TestCase

Tests for ALF parsing methods

test_filename_parts()[source]

Test for one.alf.files.filename_parts

test_rel_path_parts()[source]

Test for one.alf.files.rel_path_parts

test_session_path_parts()[source]

Test for one.alf.files.session_path_parts

test_folder_parts()[source]

Test for one.alf.files.folder_parts

test_full_path_parts()[source]

Test for one.alf.files.full_path_parts

test_isdatetime()[source]

Test for one.alf.files._isdatetime

test_add_uuid()[source]

Test for one.alf.files.add_uuid_string.

test_remove_uuid()[source]

Test for one.alf.files.remove_uuid_string.

test_padded_sequence()[source]

Test for one.alf.files.padded_sequence.

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

Bases: TestCase

Tests for path extraction functions

test_get_session_folder()[source]

Test for one.alf.files.get_session_folder

test_get_alf_path()[source]

Test for one.alf.files.get_alf_path

test_without_revision()[source]

Test for one.alf.files.without_revision function.

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

Bases: TestCase

Test files module warns of deprecation.

test_deprecation()[source]