示例#1
0
    def test_fetch_encrypted_key(self):
        cmd = Encrypt(go_server, key='password')

        assert cmd.run()['output'].endswith(
            'password_encrypted = fhcre frperg')
示例#2
0
    def test_encrypt(self, go_server):
        cmd = Encrypt(go_server, 'hello')

        assert cmd.run()['output'].endswith('Ciphertext = uryyb')