def print_setup_deps(): deps = setupdep.deps(args.rootdir) if deps is None: return False for dep in deps: print dep return True
def test_too_hard(self): repodir = os.path.join(testdir, "setup_repo_too_hard") self.assertTrue(setupdep.deps(repodir) is None)
def test_hard(self): repodir = os.path.join(testdir, "setup_repo_hard") self.assertTrue( setupdep.deps(repodir) == ['nose==1.3.0', 'wsgiref==0.1.2'])
def test_hard(self): repodir = os.path.join(testdir, "setup_repo_hard") self.assertTrue(setupdep.deps(repodir) == ['nose==1.3.0', 'wsgiref==0.1.2'])