one.tests.remote.test_base

Unit tests for the one.remote.base module.

Classes

TestBase

Tests for the one.remote.base module.

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

Bases: TestCase

Tests for the one.remote.base module.

path_mock = None

The temporary location of remote parameters file.

Type:

tempfile.TemporaryDirectory

tempdir = None
classmethod setUpClass() None[source]

Hook method for setting up class fixture before running tests in the class.

setUp() None[source]

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

test_load_client_params()[source]

Tests for one.remote.base.load_client_params function.

test_save_client_params()[source]

Tests for one.remote.base.save_client_params function.

test_repo_from_alyx()[source]

Test for DownloadClient.repo_from_alyx method.

tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

classmethod tearDownClass() None[source]

Hook method for deconstructing the class fixture after running all tests in the class.