예제 #1
0
    def test_assemble_remote_path_10(self):
        repo_url = 'alex@path/to/repo:more_stuff'
        repo = Repo(repo_url)
        expected_url = 'alex@path/to/repo:more_stuff'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #2
0
    def test_assemble_remote_path_7(self):
        repo_url = 'ssh://user@path/to/repo:80/more_stuff'
        repo = Repo(repo_url)
        expected_url = 'ssh://user@path/to/repo:80/more_stuff'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #3
0
    def test_assemble_remote_path_9(self):
        repo_url = 'path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'ssh://git@path/to/repo'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #4
0
    def test_assemble_remote_path_2(self):
        repo_url = '/path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'file:///path/to/repo'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #5
0
    def test_assemble_remote_path_4(self):
        repo_url = 'http://path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'http://path/to/repo.git'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #6
0
파일: source_test.py 프로젝트: apeace/dusty
    def test_assemble_remote_path_10(self):
        repo_url = 'alex@path/to/repo:more_stuff'
        repo = Repo(repo_url)
        expected_url = 'alex@path/to/repo:more_stuff'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #7
0
파일: source_test.py 프로젝트: apeace/dusty
    def test_assemble_remote_path_9(self):
        repo_url = 'path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'ssh://git@path/to/repo'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #8
0
파일: source_test.py 프로젝트: apeace/dusty
    def test_assemble_remote_path_7(self):
        repo_url = 'ssh://user@path/to/repo:80/more_stuff'
        repo = Repo(repo_url)
        expected_url = 'ssh://user@path/to/repo:80/more_stuff'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #9
0
파일: source_test.py 프로젝트: apeace/dusty
    def test_assemble_remote_path_4(self):
        repo_url = 'http://path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'http://path/to/repo.git'

        self.assertEqual(repo.assemble_remote_path(), expected_url)
예제 #10
0
파일: source_test.py 프로젝트: apeace/dusty
    def test_assemble_remote_path_2(self):
        repo_url = '/path/to/repo'
        repo = Repo(repo_url)
        expected_url = 'file:///path/to/repo'

        self.assertEqual(repo.assemble_remote_path(), expected_url)