Feat: modularie user and dotfiles
This commit is contained in:
@@ -37,3 +37,12 @@ def test_clone_dotfiles(host):
|
||||
dotfiles = host.file(admin.home + "/.dotfiles")
|
||||
assert dotfiles.exists
|
||||
assert dotfiles.user == admin.name
|
||||
|
||||
def test_stow_config(host):
|
||||
user = host.user("user")
|
||||
nvim_config = host.files(user.home + "/.config/nvim/")
|
||||
assert nvim_config.exists
|
||||
|
||||
admin = host.user("admin")
|
||||
nvim_config = host.files(admin.home + "/.config/nvim/")
|
||||
assert not nvim_config.exists
|
||||
|
||||
Reference in New Issue
Block a user