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

import jingrow
from frappe.tests.utils import FrappeTestCase

from press.press.doctype.ssh_key.ssh_key import SSHKey


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


class TestSSHKey(FrappeTestCase):
	pass
