audformat.testingΒΆ

audformat.testing provides the possibility to create small and well defined audformat.Database objects that are of interest for creating unit tests.

In order to use it you first have to import it explicitly:

import audformat.testing

Functions

add_misc_table

Add a miscellaneous table with random values.

add_table

Add a table with random values.

create_attachment_files

Create attachment folders and files of a database.

create_audio_files

Create audio files for a database.

create_db

Create test database.