osc_lib.tests.command package¶
Submodules¶
osc_lib.tests.command.test_command module¶
-
class
osc_lib.tests.command.test_command.
FakeCommand
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
osc_lib.tests.command.test_command.
TestCommand
(*args, **kwargs)¶ Bases:
osc_lib.tests.utils.TestCase
-
test_command_has_logger
()¶
-
test_validate_os_beta_command_enabled
()¶
-
osc_lib.tests.command.test_commandmanager module¶
-
osc_lib.tests.command.test_commandmanager.
FAKE_CMD_ALPHA
¶ alias of
FakeCommand
-
osc_lib.tests.command.test_commandmanager.
FAKE_CMD_BETA
¶ alias of
FakeCommand
-
osc_lib.tests.command.test_commandmanager.
FAKE_CMD_ONE
¶ alias of
FakeCommand
-
osc_lib.tests.command.test_commandmanager.
FAKE_CMD_TWO
¶ alias of
FakeCommand
-
class
osc_lib.tests.command.test_commandmanager.
FakeCommandManager
(namespace, convert_underscores=True)¶ Bases:
osc_lib.command.commandmanager.CommandManager
-
commands
= {}¶
-
load_commands
(namespace)¶
-
-
class
osc_lib.tests.command.test_commandmanager.
TestCommandManager
(*args, **kwargs)¶ Bases:
osc_lib.tests.utils.TestCase
-
test_add_command_group
()¶
-
test_get_command_groups
()¶
-
test_get_command_names
()¶
-
osc_lib.tests.command.test_timing module¶
Test Timing pseudo-command
-
class
osc_lib.tests.command.test_timing.
FakeGenericClient
(**kwargs)¶ Bases:
object