We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3f37d commit e7efceaCopy full SHA for e7efcea
Makefile
@@ -66,9 +66,12 @@ clean:
66
rm -rf dist linode_cli.egg-info build
67
68
.PHONY: testunit
69
-testunit: export LINODE_CLI_TEST_MODE = 1
70
testunit:
71
- pytest -v tests/unit
+ @mkdir -p /tmp/linode/.config
+ @orig_xdg_config_home=$${XDG_CONFIG_HOME:-}; \
72
+ export LINODE_CLI_TEST_MODE=1 XDG_CONFIG_HOME=/tmp/linode/.config; \
73
+ pytest -v tests/unit; \
74
+ export XDG_CONFIG_HOME=$$orig_xdg_config_home
75
76
.PHONY: testint
77
testint:
0 commit comments