Beispiel #1
0
  def testOne(self):
	expectedRepos=1;
	pwd="/home/z/zhengh/cs280/cs280-lab4team1/Repo-Rover"
	repos=[]
	repos=reporover.find_git_repos(pwd)
	actualRepos=len(repos)
	print "The expected number of repos is: ", expectedRepos
	print "The actual number of repos is: ", actualRepos
      	self.assertEqual(expectedRepos, actualRepos)
Beispiel #2
0
  def testFive(self):
	expectedRepos=90
	pwd="/home/z/zhengh"
	repos=[]
	repos=reporover.find_git_repos(pwd)
	actualRepos=len(repos)
	print "The expected number of repos is: ", expectedRepos
	print "The actual number of repos is: ", actualRepos
	self.assertEqual(expectedRepos, actualRepos)