one.tests.test_params

Unit tests for the one.params module.

NB: setup function also tested with TestOneSetup class in one.tests.test_one.

Classes

TestONEParamUtil

Test class for one.params utility functions.

TestParamSetup

Test for one.params.setup function

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

Bases: TestCase

Test for one.params.setup function

setUp() None[source]

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

test_setup(_)[source]

Test fresh setup with default args

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

Bases: TestCase

Test class for one.params utility functions.

setUp() None[source]

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

test_key_from_url()[source]

Test for one.params._key_from_url.

test_get_params_dir()[source]

Test for one.params.get_params_dir

test_get_default_client()[source]

Test for one.params.get_default_client.

test_get_cache_dir()[source]

Test for one.params.get_cache_dir.

test_delete_params()[source]

Test for one.params.delete_params.