test_core.py 文件源码

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

项目:xFlow 作者: dsouzajude 项目源码 文件源码
def tests_init_is_successful(self):
        ''' Tests that the engine is successfully initialized i.e.
        awslambda, awskinesis and awscwlogs are setup and initialized '''
        config_path = config_dir + "/valid.yaml"
        core.IAM = core.Lambda = core.Kinesis = core.CloudWatchLogs = Mock()
        engine = core.Engine(config_path)
        nt.assert_not_equals(engine.awslambda, None)
        nt.assert_not_equals(engine.kinesis, None)
        nt.assert_not_equals(engine.cwlogs, None)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号