Use Gitea repository guidance and retain Alloy security regression check [skip ci]

This commit is contained in:
deytenit committed 2026-11-08 12:39:48 +03:00
1 parent 7b68eadff7
commit c091cbfb80
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ class NativeAlloy(unittest.TestCase):
self.ctx.sys.sudo.assert_not_called()
def test_invalid_role_or_environment_path_cannot_change_service(self):
for role, path in [('unknown', '/etc/alloy/secrets'), ('host', '/tmp/file\nUser=root')]:
for role, path in [('unknown', '/etc/alloy/secrets'), ('host', '/etc/alloy/invalid\nUser=root')]:
self.configure(role=role, environment_file=path)
with self.assertRaises(ValueError):
alloy.run(self.ctx, SimpleNamespace(dry_run=False))