This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-releases-client.git
The following commit(s) were added to refs/heads/main by this push:
new e1cd778 Add configuration tests
e1cd778 is described below
commit e1cd77896a965f15fe7a28aa04f3bf3f6f4c24e0
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Jul 10 17:22:00 2025 +0100
Add configuration tests
---
pyproject.toml | 4 ++--
tests/cli_config.t | 12 ++++++++++++
tests/cli_version.t | 2 +-
uv.lock | 4 ++--
4 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index be2f8af..d7c8e27 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ build-backend = "hatchling.build"
[project]
name = "apache-trusted-releases"
-version = "0.20250710.1606"
+version = "0.20250710.1620"
description = "ATR CLI and Python API"
readme = "README.md"
requires-python = ">=3.13"
@@ -48,4 +48,4 @@ atr = "atrclient.client:main"
packages = ["src/atrclient"]
[tool.uv]
-exclude-newer = "2025-07-10T16:06:00Z"
+exclude-newer = "2025-07-10T16:20:00Z"
diff --git a/tests/cli_config.t b/tests/cli_config.t
index 794d7c0..86cfbbd 100644
--- a/tests/cli_config.t
+++ b/tests/cli_config.t
@@ -15,3 +15,15 @@ Set asf.uid to "example".
$ atr config file
asf:
uid: example
+
+! atr drop --path asf.uid
+╭─ Error
──────────────────────────────────────────────────────────────────────╮
+│ Unknown option: "--path".
│
+╰──────────────────────────────────────────────────────────────────────────────╯
+
+$ atr drop asf.uid
+Removed asf.uid.
+
+! atr config file
+<!stderr!>
+atr: error: No configuration file found.
diff --git a/tests/cli_version.t b/tests/cli_version.t
index a4b439a..7ded9f4 100644
--- a/tests/cli_version.t
+++ b/tests/cli_version.t
@@ -1,2 +1,2 @@
$ atr --version
-0.20250710.1606
+0.20250710.1620
diff --git a/uv.lock b/uv.lock
index 082c9df..4097c4e 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2,7 +2,7 @@ version = 1
requires-python = ">=3.13"
[options]
-exclude-newer = "2025-07-10T16:06:00Z"
+exclude-newer = "2025-07-10T16:20:00Z"
[[package]]
name = "aiohappyeyeballs"
@@ -74,7 +74,7 @@ wheels = [
[[package]]
name = "apache-trusted-releases"
-version = "0.20250710.1606"
+version = "0.20250710.1620"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]