示例#1
0
    def test_get_svnames_from_tasks(self):
        apps = json.loads(open('tests/zdd_app_blue.json').read())
        tasks = apps['apps'][0]['tasks']

        task_svnames = zdd.get_svnames_from_tasks(apps, tasks)
        assert '10_0_6_25_16916' in task_svnames
        assert '10_0_6_25_31184' in task_svnames
        assert '10_0_6_25_23336' in task_svnames
示例#2
0
    def test_get_svnames_from_tasks(self):
        apps = json.loads(open('tests/zdd_app_blue.json').read())
        tasks = apps['apps'][0]['tasks']

        task_svnames = zdd.get_svnames_from_tasks(apps, tasks)
        assert '10_0_6_25_16916' in task_svnames
        assert '10_0_6_25_31184' in task_svnames
        assert '10_0_6_25_23336' in task_svnames
示例#3
0
 def run(apps):
     tasks = apps['apps'][0]['tasks']
     task_svnames = zdd.get_svnames_from_tasks(apps, tasks)
     assert '10_0_6_25_16916' in task_svnames
     assert '10_0_6_25_31184' in task_svnames
     assert '10_0_6_25_23336' in task_svnames
示例#4
0
 def run(apps):
     tasks = apps['apps'][0]['tasks']
     task_svnames = zdd.get_svnames_from_tasks(apps, tasks)
     assert '10_0_6_25_16916' in task_svnames
     assert '10_0_6_25_31184' in task_svnames
     assert '10_0_6_25_23336' in task_svnames