Пример #1
0
 def test_get_dependency_set_direct_two(self):
     A = make_job('A', depends='B, C')
     expected = set([("direct", 'B'), ("direct", 'C')])
     observed = DependencySolver._get_dependency_set(A)
     self.assertEqual(expected, observed)
Пример #2
0
 def test_get_dependency_set_direct_two(self):
     A = make_job('A', depends='B, C')
     expected = set([("direct", 'B'), ("direct", 'C')])
     observed = DependencySolver._get_dependency_set(A)
     self.assertEqual(expected, observed)
Пример #3
0
 def test_get_dependency_set_empty(self):
     A = make_job('A')
     expected = set()
     observed = DependencySolver._get_dependency_set(A)
     self.assertEqual(expected, observed)
Пример #4
0
 def test_get_dependency_set_empty(self):
     A = make_job('A')
     expected = set()
     observed = DependencySolver._get_dependency_set(A)
     self.assertEqual(expected, observed)