summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2022-05-17 19:43:49 +0200
committerGitHub <noreply@github.com>2022-05-17 11:43:49 -0600
commit3e554d16b4d539c9bd0c743793d391d30bee167a (patch)
treefd157533b1ab6ebf524f9e831c188846a419601d /pyproject.toml
parent98388b5ddc8f61a873631b8588a4a109b9088abd (diff)
downloadcloud-init-git-3e554d16b4d539c9bd0c743793d391d30bee167a.tar.gz
cli: Redact files with permission errors in commands (#1440)
For non-root users, emit warnings and redact on any /etc/cloud/cloud.cfg.d files which raise permissions errors. Add tests covering this behavior for query, status and render cmds. Migrate `test_render.py` and `test_status.py` to Pytest. LP: #1953430 SC-658
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml5
1 files changed, 0 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e1fb7dca..1aac03a8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,7 +42,6 @@ exclude=[
'^cloudinit/sources/DataSourceVMware\.py$',
'^cloudinit/sources/__init__\.py$',
'^cloudinit/sources/helpers/vmware/imc/config_file\.py$',
- '^cloudinit/stages\.py$',
'^cloudinit/templater\.py$',
'^cloudinit/url_helper\.py$',
'^conftest\.py$',
@@ -56,12 +55,9 @@ exclude=[
'^tests/integration_tests/modules/test_growpart\.py$',
'^tests/integration_tests/modules/test_ssh_keysfile\.py$',
'^tests/unittests/__init__\.py$',
- '^tests/unittests/cmd/devel/test_render\.py$',
'^tests/unittests/cmd/test_clean\.py$',
'^tests/unittests/cmd/test_cloud_id\.py$',
'^tests/unittests/cmd/test_main\.py$',
- '^tests/unittests/cmd/test_query\.py$',
- '^tests/unittests/cmd/test_status\.py$',
'^tests/unittests/config/test_cc_chef\.py$',
'^tests/unittests/config/test_cc_landscape\.py$',
'^tests/unittests/config/test_cc_locale\.py$',
@@ -96,7 +92,6 @@ exclude=[
'^tests/unittests/test_subp\.py$',
'^tests/unittests/test_templating\.py$',
'^tests/unittests/test_url_helper\.py$',
- '^tests/unittests/test_util\.py$',
'^tools/mock-meta\.py$',
]