tests.test_utils

Classes

TestWAUtils

Tests various package level things

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

Bases: unittest.TestCase

Tests various package level things

test_data_directory(self)[source]

Tests the global get_wa_data_directory() variable

test_get_wa_data_file(self)[source]

Tests the get_wa_data_file method

test_set_wa_data_directory(self)[source]

Tests the set_wa_data_directory method

test_set_wa_data_directory_temp(self)[source]

Tests the set_wa_data_diretory_temp method

test_check_type(self)[source]

Tests the check_type method

test_load_json(self)[source]

Tests the load_json method

test_check_field(self)[source]

Tests the check_field method

test_check_field_allowed_values(self)[source]

Tests the check_field_allowed_values method