Ejemplo n.º 1
0
    def test_get_external_owner_and_repo(self):
        owner, repo, dependency_id = get_external_owner_and_repo(
            "alvarocavalcanti/my-dev-templates#1")

        assert "alvarocavalcanti" == owner
        assert "my-dev-templates" == repo
        assert "1" == dependency_id
Ejemplo n.º 2
0
    def test_get_external_owner_and_repo(self):
        owner, repo, dependency_id = get_external_owner_and_repo(
            "alvarocavalcanti/my-dev-templates#1")

        self.assertEqual("alvarocavalcanti", owner)
        self.assertEqual("my-dev-templates", repo)
        self.assertEqual("1", dependency_id)