Example #1
0
 def test_standalone_with_one_dependency(self):
     r = TargetResolver(self.config)
     assert(set(['p1']) == r.dependencies('p2'))
Example #2
0
 def test_group_with_one_dependency(self):
     r = TargetResolver(self.config)
     assert(set(['gr1']) == r.dependencies('gr2'))
Example #3
0
 def test_standalone_with_one_dependency(self):
     r = TargetResolver(self.config)
     assert(set(['p1']) == r.dependencies('p2'))
Example #4
0
 def test_group_with_one_dependency(self):
     r = TargetResolver(self.config)
     assert(set(['gr1']) == r.dependencies('gr2'))
Example #5
0
 def test_application_with_one_dependency(self):
     r = TargetResolver(self.config)
     assert (set(['gr1']) == r.dependencies('app1'))
Example #6
0
 def test_group_with_one_dependency_incl_tests(self):
     r = TargetResolver(self.config)
     assert (set() == r.dependencies('gr3'))
     r = TargetResolver(self.config, True)
     assert (set(['gr1']) == r.dependencies('gr3'))