lomas_server.tests package

Submodules

lomas_server.tests.constants module

lomas_server.tests.test_api module

lomas_server.tests.test_api_diffprivlib module

lomas_server.tests.test_api_smartnoise_synth module

lomas_server.tests.test_collection_models module

class lomas_server.tests.test_collection_models.TestMetadataModel(methodName='runTest')[source]

Bases: TestCase

Tests for the input validation of dataset metadata.

test_boolean_column() None[source]
test_categories() None[source]

test categories validation

test_categories_match_cardinality() None[source]

Test categories match cardinality

test_categories_match_type() None[source]

Test categories match column type

test_categories_required() None[source]

test categories required

test_datetime_column() None[source]
test_float_column() None[source]
test_int_column() None[source]
test_lower_upper_bounded() None[source]

Test lower is smaller than upper and of right type

test_metadata_columns_discriminator() None[source]

Test metadata column discriminator

test_precision() None[source]

test precision can only be 32 or 64

test_standard_metadata_fields()[source]

Test standard metadata fields

lomas_server.tests.test_dummy_generation module

lomas_server.tests.test_mongodb_admin module

lomas_server.tests.test_mongodb_admin_cli module

Module contents