mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
test the SUT
This commit is contained in:
parent
360b20a981
commit
28435d65c1
@ -101,10 +101,12 @@ class GetArgvTests(SyncTestCase):
|
||||
# file I/O is relatively simple and well-understood.
|
||||
f.write(dedent(
|
||||
"""
|
||||
import sys
|
||||
from allmydata.windows.fixups import (
|
||||
get_argv,
|
||||
)
|
||||
import json
|
||||
with open({!r}, "wt") as f:
|
||||
f.write(json.dumps(sys.argv))
|
||||
f.write(json.dumps(get_argv()))
|
||||
""".format(saved_argv_path.path)),
|
||||
)
|
||||
# Python 2.7 doesn't have good options for launching a process with
|
||||
|
Loading…
Reference in New Issue
Block a user