mirror of
https://github.com/Such-Software/adaptive-multi-protocol-gateway.git
synced 2026-10-17 15:41:41 +02:00
Fix I2P web tunnel deployment shape
This commit is contained in:
@@ -64,7 +64,7 @@ keys_file = "example-web.dat"
|
||||
|
||||
by_role_path = {(contract.role, contract.path) for contract in contracts}
|
||||
self.assertIn(("daemon-config", root / "state/example/i2p/i2pd-tunnels.conf"), by_role_path)
|
||||
self.assertIn(("identity-key", root / "state/example/i2p/example-web.dat"), by_role_path)
|
||||
self.assertIn(("identity-key", root / "state/example/i2p/data/example-web.dat"), by_role_path)
|
||||
self.assertIn(("address-file", root / "state/example/i2p/hostname.txt"), by_role_path)
|
||||
sensitive = {contract.role for contract in contracts if contract.sensitive}
|
||||
self.assertEqual({"identity-key"}, sensitive)
|
||||
|
||||
Reference in New Issue
Block a user