Skip to content

Commit 24488f4

Browse files
DiegoDAFclaude
andcommitted
Fix duplicate step definitions and update version to 4.3.5
Changes: - Removed duplicate step definitions in tuples_only.py that already exist in command_option.py to avoid AmbiguousStep errors - Updated version from 4.3.4 to 4.3.5 All BDD tests passing: 7 scenarios, 32 steps ✓ Made with ❤️ and 🤖 Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1d30323 commit 24488f4

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

pgcli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.3.4"
1+
__version__ = "4.3.5"

tests/features/steps/tuples_only.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,3 @@ def step_see_multiple_data_rows(context):
9292

9393
# Should not have table formatting
9494
assert "+-" not in output, f"Expected no table borders, but got: {output}"
95-
96-
97-
@then("we see the command output")
98-
def step_see_command_output(context):
99-
"""Verify that the special command output is present."""
100-
output = context.cmd_output.decode('utf-8')
101-
# For special commands like \dt, just verify it didn't error
102-
assert context.exit_code == 0, f"Expected exit code 0, but got: {context.exit_code}"
103-
104-
105-
@then("pgcli exits successfully")
106-
def step_pgcli_exits_successfully(context):
107-
"""Verify that pgcli exited with code 0."""
108-
assert context.exit_code == 0, f"Expected exit code 0, but got: {context.exit_code}. Output: {context.cmd_output.decode('utf-8')}"
109-
# Clean up
110-
context.cmd_output = None
111-
context.exit_code = None

0 commit comments

Comments
 (0)