Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up handling of argv in tests #54

Open
glasserc opened this issue Aug 14, 2018 · 0 comments
Open

Clean up handling of argv in tests #54

glasserc opened this issue Aug 14, 2018 · 0 comments
Labels
stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.

Comments

@glasserc
Copy link
Contributor

cmd = 'kinto-wizard {} --server={} --auth={} --dry-run'
load_cmd = cmd.format("load {}".format(self.file),
self.server, self.auth)
sys.argv = load_cmd.split(" ")

This sort of stuff seems a little bit like bad practice..

@alexcottner alexcottner added the stale For marking issues as stale. Labeled issues will be closed soon if label is not removed. label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.
Projects
None yet
Development

No branches or pull requests

2 participants