# Copyright (c) 2021, Jingrow and Contributors
# See license.txt

import jingrow
from jingrow.tests.utils import JingrowTestCase

from jcloude.jcloude.pagetype.ssh_key.ssh_key import SSHKey


def create_test_ssh_key() -> SSHKey:
	return jingrow.get_pg(
		{
			"pagetype": "SSH Key",
			"name": "Test SSH Key",
			"public_key": "ssh-rsa AAAAB3",
		}
	).insert(ignore_if_duplicate=True)


class TestSSHKey(JingrowTestCase):
	pass
