Exemple #1
0
class TestName:
    def setup(self):
        self.sshkey = SSHkey()

    def test_01_key(self):
        HEADING()
        pprint(self.sshkey)
        print(self.sshkey)
        print(type(self.sshkey))
        pprint(self.sshkey.__dict__)

        assert self.sshkey.__dict__ is not None

    def test_02_git(self):
        HEADING()
        config = Config()
        username = config["cloudmesh.profile.github"]
        print("Username:"******"name"),
                              order=["name", "fingerprint"],
                              header=["Name", "Fingerprint"]))

        assert len(keys) > 0
    def test_git(self):
        HEADING()
        config = Config()
        username = config["cloudmesh.profile.github"]
        print("Username:"******"name"],
                              order=["name", "fingerprint"],
                              header=["Name", "Fingerprint"]))

        assert len(keys) > 0