def testGitSshUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url('[email protected]:Jarn/jarn.mkrelease'), False)
 def testBadProtocol(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url('git://'), False)
 def testEmptyString(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url(''), False)
 def testFileUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url('file://'), True)
 def testHttpsUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url('https://'), True)
 def testSvnSshUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url('svn+ssh://'), True)
Beispiel #7
0
 def testHttpUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url("http://"), True)
Beispiel #8
0
 def testSvnUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url("svn://"), True)