watchme.tests package

Submodules

watchme.tests.test_client module

class watchme.tests.test_client.TestClient(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_activate()[source]
test_create()[source]

test creation function, and basic watcher config

test_freeze()[source]
test_schedule()[source]
test_watcher_task()[source]

test adding a task

watchme.tests.test_utils module

class watchme.tests.test_utils.TestUtils(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_files()[source]
test_get_installdir()[source]

get install directory should return the base of where singularity is installed

test_mkdir()[source]
test_terminal()[source]
test_userhome()[source]
test_write_read_files()[source]

test_write_read_files will test the functions write_file and read_file

Module contents