test_tempest.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:functest 作者: opnfv 项目源码 文件源码
def test_run_verifier_tests_default(self, mock_logger_info):
        with mock.patch('__builtin__.open', mock.mock_open()), \
            mock.patch('__builtin__.iter', return_value=['\} tempest\.']), \
            mock.patch('functest.opnfv_tests.openstack.tempest.tempest.'
                       'subprocess.Popen'):
            conf_utils.TEMPEST_LIST = 'test_tempest_list'
            cmd_line = ("rally verify start  --load-list "
                        "test_tempest_list --detailed")
            self.tempestcommon.run_verifier_tests()
            mock_logger_info. \
                assert_any_call("Starting Tempest test suite: '%s'."
                                % cmd_line)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号