taucmdr.model.tests.test_target module

Unit tests for taucmdr.model.target.

class taucmdr.model.tests.test_target.DarwinTargetTest(methodName='runTest')[source]

Bases: DarwinTestCase

Tests for targets on macOS.

_classSetupFailed = False
_class_cleanups = []
test_pdt_default()[source]
test_pdt_refused()[source]
test_target_without_pdt()[source]
class taucmdr.model.tests.test_target.TargetTest(methodName='runTest')[source]

Bases: TestCase

Tests for taucmdr.model.target.Target.

_classSetupFailed = False
_class_cleanups = []
_target_with(data)[source]
test_legacy_ompt_source()[source]

A target stored with a removed OMPT download variant still loads and lists.

test_pdt_default()[source]
test_tau_source_override_missing()[source]

An override_tau_source file with a missing directory produces a warning.

test_unknown_host_arch()[source]

A target saved with an architecture this version doesn’t know gives a clear error.

test_unknown_host_os()[source]

A target saved with an operating system this version doesn’t know gives a clear error.