Exemple #1
0
    def test_sync(self):
        """
        sync - test to ensure that ``sync`` method functions
        without exception
        """
        git_deploy_obj = GitDeploy()
        try:
            git_deploy_obj.start(None)
            git_deploy_obj.sync(None)

            # TODO - check tag and deploy file
        except GitDeployError:
            self.assertTrue(False)
Exemple #2
0
    def test_sync(self):
        """
        sync - test to ensure that ``sync`` method functions
        without exception
        """
        git_deploy_obj = GitDeploy()
        try:
            git_deploy_obj.start(None)
            git_deploy_obj.sync(None)

            # TODO - check tag and deploy file
        except GitDeployError:
            self.assertTrue(False)
Exemple #3
0
    def test_show_tag(self):
        """
        start - test to ensure that start method functions
        without exception
        """
        git_deploy_obj = GitDeploy()
        try:
            git_deploy_obj.start(None)
            git_deploy_obj.sync(None)
            git_deploy_obj.show_tag(None)

        except GitDeployError:
            self.assertTrue(False)
Exemple #4
0
    def test_show_tag(self):
        """
        start - test to ensure that start method functions
        without exception
        """
        git_deploy_obj = GitDeploy()
        try:
            git_deploy_obj.start(None)
            git_deploy_obj.sync(None)
            git_deploy_obj.show_tag(None)

        except GitDeployError:
            self.assertTrue(False)