Example #1
0
 def test_git_repo_exists(self):
     self.assertTrue(
         os_ext.git_repo_exists('https://github.com/eth-cscs/reframe.git',
                                timeout=3))
     self.assertFalse(os_ext.git_repo_exists('reframe.git', timeout=3))
     self.assertFalse(
         os_ext.git_repo_exists('https://github.com/eth-cscs/xxx',
                                timeout=3))
Example #2
0
 def test_git_repo_exists(self):
     assert os_ext.git_repo_exists(
         'https://github.com/eth-cscs/reframe.git', timeout=3)
     assert not os_ext.git_repo_exists('reframe.git', timeout=3)
     assert not os_ext.git_repo_exists('https://github.com/eth-cscs/xxx',
                                       timeout=3)