mirror of
https://github.com/safishamsi/graphify.git
synced 2026-08-27 00:36:39 +00:00
test(hooks): update comment to refer to #2253
This commit is contained in:
committed by
safishamsi
parent
3bac3df666
commit
952b477a3f
@@ -4,4 +4,3 @@
|
||||
worked/**/*.html linguist-vendored=true
|
||||
graphify-out/**/*.html linguist-vendored=true
|
||||
*.html linguist-detectable=false
|
||||
graphify-out/graph.json merge=graphify
|
||||
|
||||
+1
-1
@@ -248,7 +248,7 @@ def test_hooks_do_not_use_nohup(name, script):
|
||||
@pytest.mark.parametrize("name,script", _HOOK_SCRIPTS)
|
||||
def test_hooks_use_cross_platform_detach(name, script):
|
||||
"""The replacement detaches via Python: start_new_session on POSIX and
|
||||
CREATE_NO_WINDOW|CREATE_NEW_PROCESS_GROUP on Windows (#1161)."""
|
||||
CREATE_NO_WINDOW|CREATE_NEW_PROCESS_GROUP on Windows (#1161 / #2253)."""
|
||||
assert "subprocess.Popen" in script
|
||||
assert "start_new_session=True" in script, f"{name} missing POSIX detach"
|
||||
assert "0x08000000" in script, f"{name} missing Windows CREATE_NO_WINDOW flag"
|
||||
|
||||
Reference in New Issue
Block a user