本文整理汇总了Python中drupdates.tests.behavioral.behavioral_utils.BehavioralUtils.count_repos_updated方法的典型用法代码示例。如果您正苦于以下问题:Python BehavioralUtils.count_repos_updated方法的具体用法?Python BehavioralUtils.count_repos_updated怎么用?Python BehavioralUtils.count_repos_updated使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类drupdates.tests.behavioral.behavioral_utils.BehavioralUtils
的用法示例。
在下文中一共展示了BehavioralUtils.count_repos_updated方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_second_repo_built
# 需要导入模块: from drupdates.tests.behavioral.behavioral_utils import BehavioralUtils [as 别名]
# 或者: from drupdates.tests.behavioral.behavioral_utils.BehavioralUtils import count_repos_updated [as 别名]
def test_second_repo_built(self):
""" Test to ensure both repos built successfully. """
count = BehavioralUtils.count_repos_updated('builds/test')
# If 1 repo Siteupdates in report repo built successfully in builds/test.
assert count == 1
示例2: test_repo_built
# 需要导入模块: from drupdates.tests.behavioral.behavioral_utils import BehavioralUtils [as 别名]
# 或者: from drupdates.tests.behavioral.behavioral_utils.BehavioralUtils import count_repos_updated [as 别名]
def test_repo_built():
""" Test to ensure one repo built successfully. """
count = BehavioralUtils.count_repos_updated('builds')
# If 1 repo Siteupdates in report repo built successfully.
assert count == 1
示例3: test_all_repos_built
# 需要导入模块: from drupdates.tests.behavioral.behavioral_utils import BehavioralUtils [as 别名]
# 或者: from drupdates.tests.behavioral.behavioral_utils.BehavioralUtils import count_repos_updated [as 别名]
def test_all_repos_built():
""" Test to ensure all three repos built successfully. """
count = BehavioralUtils.count_repos_updated('builds')
# If 3 repos Siteupdates in report repo built successfully.
assert count == 3