one.tests.alf.test_cache

Classes

TestsONEParquet

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

Bases: unittest.case.TestCase

rel_ses_path = 'mylab/Subjects/mysub/2021-02-28/001/'
ses_info = {'date': datetime.date(2021, 2, 28), 'id': 'mylab/Subjects/mysub/2021-02-28/001', 'lab': 'mylab', 'number': 1, 'project': '', 'subject': 'mysub', 'task_protocol': ''}
rel_ses_files = [WindowsPath('alf/spikes.clusters.npy'), WindowsPath('alf/spikes.times.npy')]
setUp() → None[source]

Hook method for setting up the test fixture before exercising it.

test_parse()[source]
test_walk()[source]
test_walk_session()[source]
test_parquet()[source]
test_sessions_df()[source]
test_datasets_df()[source]
tests_db()[source]
test_hash_ids()[source]
tearDown() → None[source]

Hook method for deconstructing the test fixture after testing it.