cerebralcortex.test_suite package
Submodules
cerebralcortex.test_suite.join_spark module
cerebralcortex.test_suite.test_glucose_metrics module
-
class
TestDataframeUDF(methodName='runTest')[source]
Bases: unittest.case.TestCase
-
test_00()[source]
cerebralcortex.test_suite.test_gps_cluster_udf module
-
class
TestDataframeUDF(methodName='runTest')[source]
Bases: unittest.case.TestCase
-
test_01_udf_on_gps()[source]
Window datastream and perform a gps clustering udf on top of it
cerebralcortex.test_suite.test_import_data module
cerebralcortex.test_suite.test_main module
-
class
TestCerebralCortex(methodName='runTest')[source]
Bases: unittest.case.TestCase, cerebralcortex.test_suite.test_nosql_storage.NoSqlStorageTest, cerebralcortex.test_suite.test_sql_storage.SqlStorageTest
-
setUp()[source]
Setup test params to being testing with.
Notes
DO NOT CHANGE PARAMS DEFINED UNDER TEST-PARAMS! OTHERWISE TESTS WILL FAIL. These values are hardcoded in util/data_helper file as well.
-
test_00()[source]
This test will create required entries in sql database.
cerebralcortex.test_suite.test_nosql_storage module
-
class
NoSqlStorageTest[source]
Bases: object
-
test_01_save_stream()[source]
Test functionality related to save a stream
-
test_02_stream()[source]
-
test_03_get_stream()[source]
Test functionality related to get a stream
-
test_04_get_storage_path()[source]
-
test_05_path_exist()[source]
-
test_06_ls_dir()[source]
-
test_07_create_dir()[source]
-
test_08_write_pandas_to_parquet_file()[source]
-
test_09_is_study()[source]
-
test_10_is_stream()[source]
-
test_11_get_stream_versions()[source]
-
test_12_list_streams()[source]
-
test_14_search_stream()[source]
cerebralcortex.test_suite.test_rest_api_server module
cerebralcortex.test_suite.tt module
Module contents