Home
last modified time | relevance | path

Searched refs:config_mock (Results 1 – 14 of 14) sorted by relevance

/dports/databases/pgbarman/barman-release-2.17/tests/
H A Dtest_compressor.py45 config_mock = mock.Mock()
51 config_mock = mock.Mock()
58 config_mock = mock.Mock()
64 config_mock = mock.Mock()
78 config_mock = mock.Mock()
91 config_mock = mock.Mock()
100 config_mock = mock.Mock()
109 config_mock = mock.Mock()
117 config_mock = mock.Mock()
152 config_mock = mock.Mock()
[all …]
H A Dtest_xlog.py333 config_mock = mock.Mock()
334 config_mock.compression = "gzip"
335 comp_manager = CompressionManager(config_mock, None)
/dports/devel/py-osc-lib/osc-lib-2.4.2/osc_lib/tests/
H A Dtest_shell.py317 def test_shell_args_cloud_no_vendor(self, config_mock): argument
319 config_mock.return_value = ('file.yaml', copy.deepcopy(CLOUD_1))
367 def test_shell_args_cloud_public(self, config_mock, public_mock): argument
369 config_mock.return_value = ('file.yaml', copy.deepcopy(CLOUD_2))
416 def test_shell_args_precedence(self, config_mock, vendor_mock): argument
417 config_mock.return_value = ('file.yaml', copy.deepcopy(CLOUD_2))
473 def test_shell_args_precedence_1(self, config_mock, vendor_mock): argument
475 config_mock.return_value = ('file.yaml', copy.deepcopy(CLOUD_2))
521 def test_shell_args_precedence_2(self, config_mock, vendor_mock): argument
523 config_mock.return_value = ('file.yaml', copy.deepcopy(CLOUD_2))
[all …]
/dports/www/drupal9/drupal-9.2.10/core/modules/serialization/tests/src/Unit/Normalizer/
H A DContentEntityNormalizerTest.php56 $config_mock = $this->createMock('Drupal\Core\Config\Entity\ConfigEntityInterface');
58 $this->assertFalse($this->contentEntityNormalizer->supportsNormalization($config_mock));
/dports/www/drupal8/drupal-8.9.20/core/modules/serialization/tests/src/Unit/Normalizer/
H A DContentEntityNormalizerTest.php56 $config_mock = $this->createMock('Drupal\Core\Config\Entity\ConfigEntityInterface');
58 $this->assertFalse($this->contentEntityNormalizer->supportsNormalization($config_mock));
/dports/net/py-python-openstackclient/python-openstackclient-5.2.1/openstackclient/tests/unit/integ/cli/
H A Dtest_shell.py460 def test_shell_args_precedence_1(self, config_mock, vendor_mock): argument
470 config_mock.side_effect = config_mock_return
532 def test_shell_args_precedence_2(self, config_mock, vendor_mock): argument
542 config_mock.side_effect = config_mock_return
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Luatest/spec/
H A Dannouncer_spec.lua56 local config_mock = {
83 config = config_mock,
/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/
H A Dtest_pip.py921 config_mock = {
928 with patch.dict(pip.__opts__, config_mock):
946 config_mock = {
953 with patch.dict(pip.__opts__, config_mock):
1143 config_mock = {
1150 with patch.dict(pip.__opts__, config_mock):
1179 config_mock = {
1186 with patch.dict(pip.__opts__, config_mock):
/dports/misc/py-powerline-status/powerline-2.8.2/tests/test_python/
H A Dtest_config_merging.py15 from tests.modules.lib.config_mock import select_renderer, UT
H A Dtest_config_reload.py9 from tests.modules.lib.config_mock import get_powerline, add_watcher_events, UT
H A Dtest_configuration.py13 from tests.modules.lib.config_mock import (get_powerline, get_powerline_raw,
/dports/databases/p5-App-Sqitch/App-Sqitch-0.9994/t/
H A Dadd.t28 my $config_mock = Test::MockModule->new('App::Sqitch::Config');
31 $config_mock->mock(system_dir => sub { $sysdir });
32 $config_mock->mock(user_dir => sub { $usrdir });
/dports/textproc/py-transifex-client/transifex-client-0.13.6/tests/
H A Dtest_project.py922 with patch.object(p, 'config', create=True) as config_mock:
924 calls = config_mock.method_calls
928 calls = config_mock.method_calls
931 calls = config_mock.method_calls
/dports/security/py-gvm-tools/gvm-tools-21.10.0/tests/
H A Dtest_parser.py114 def test_config_load_raises_error(self, config_mock, path_mock): argument
120 config_mock.return_value = config