@@ -1267,11 +1267,13 @@ def test_xray_subscription_uses_host_specific_template_override(access_token):
12671267 access_token ,
12681268 name = unique_name ("xray_host_override_template" ),
12691269 template_type = "xray_subscription" ,
1270- content = json .dumps ({
1271- "log" : {"loglevel" : "warning" },
1272- "inbounds" : [{"tag" : "placeholder" , "protocol" : "vmess" , "settings" : {"clients" : []}}],
1273- "outbounds" : [{"tag" : "template-marker" , "protocol" : "freedom" , "settings" : {}}],
1274- }),
1270+ content = json .dumps (
1271+ {
1272+ "log" : {"loglevel" : "warning" },
1273+ "inbounds" : [{"tag" : "placeholder" , "protocol" : "vmess" , "settings" : {"clients" : []}}],
1274+ "outbounds" : [{"tag" : "template-marker" , "protocol" : "freedom" , "settings" : {}}],
1275+ }
1276+ ),
12751277 )
12761278
12771279 host_response = client .post (
@@ -1337,11 +1339,13 @@ def test_xray_subscription_template_override_isolated_per_host(access_token):
13371339 access_token ,
13381340 name = unique_name ("xray_host_isolated_template" ),
13391341 template_type = "xray_subscription" ,
1340- content = json .dumps ({
1341- "log" : {"loglevel" : "warning" },
1342- "inbounds" : [{"tag" : "placeholder" , "protocol" : "vmess" , "settings" : {"clients" : []}}],
1343- "outbounds" : [{"tag" : "template-marker" , "protocol" : "freedom" , "settings" : {}}],
1344- }),
1342+ content = json .dumps (
1343+ {
1344+ "log" : {"loglevel" : "warning" },
1345+ "inbounds" : [{"tag" : "placeholder" , "protocol" : "vmess" , "settings" : {"clients" : []}}],
1346+ "outbounds" : [{"tag" : "template-marker" , "protocol" : "freedom" , "settings" : {}}],
1347+ }
1348+ ),
13451349 )
13461350
13471351 first_host_response = client .post (
0 commit comments