update
This commit is contained in:
@@ -33,13 +33,13 @@ class TestParseProfile:
|
||||
profile = parse_profile("test", raw)
|
||||
assert len(profile.ssh_keys) == 1
|
||||
|
||||
def test_ssh_keygen_alias(self):
|
||||
raw = {"ssh-keygen": [{"filename": "id_work", "type": "ed25519"}]}
|
||||
def test_ssh_keys_with_filename(self):
|
||||
raw = {"ssh-keys": [{"filename": "id_work", "type": "ed25519"}]}
|
||||
profile = parse_profile("test", raw)
|
||||
assert profile.ssh_keys[0]["path"] == "~/.ssh/id_work"
|
||||
|
||||
def test_requires_alias(self):
|
||||
profile = parse_profile("test", {"requires": ["USER_EMAIL"]})
|
||||
def test_env_required(self):
|
||||
profile = parse_profile("test", {"env-required": ["USER_EMAIL"]})
|
||||
assert profile.env_required == ("USER_EMAIL",)
|
||||
|
||||
def test_post_link_and_dotfiles_profile(self):
|
||||
|
||||
Reference in New Issue
Block a user