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)
 def testHttpUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url("http://"), True)
 def testSvnUrl(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_url("svn://"), True)