Skip to content

Revert "test: Add basic test for cli module"#78

Merged
Valentin-v-Todorov merged 1 commit intoTheDevOpsBlueprint:mainfrom
skalwaghe-56:revert-74-feature/add-tests-cli-module
Oct 10, 2025
Merged

Revert "test: Add basic test for cli module"#78
Valentin-v-Todorov merged 1 commit intoTheDevOpsBlueprint:mainfrom
skalwaghe-56:revert-74-feature/add-tests-cli-module

Conversation

@skalwaghe-56
Copy link
Contributor

Reverts #74

Failing tests because of the PR.

=========================== short test summary info ============================
FAILED tests/test_cli.py::test_cli_add - AssertionError: expected call not found.
Expected: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=<ANY>, used_count=0, shell=<ANY>, last_used=None, usage_history=[], group=None))
  Actual: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=datetime.datetime(2025, 10, 9, 18, 21, 0, 603246), used_count=0, shell=None, last_used=None, usage_history=[], group=None), record_history=True)
FAILED tests/test_cli.py::test_cli_add__apply_failed - AssertionError: expected call not found.
Expected: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=<ANY>, used_count=0, shell=<ANY>, last_used=None, usage_history=[], group=None))
  Actual: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=datetime.datetime(2025, 10, 9, 18, 21, 0, 788446), used_count=0, shell=None, last_used=None, usage_history=[], group=None), record_history=True)
FAILED tests/test_cli.py::test_cli_add__no_apply - AssertionError: expected call not found.
Expected: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=<ANY>, used_count=0, shell=<ANY>, last_used=None, usage_history=[], group=None))
  Actual: add(Alias(name='alix-test-echo', command='alix test working!', description='alix test shortcut', tags=['a', 'b'], created_at=datetime.datetime(2025, 10, 9, 18, 21, 0, 887596), used_count=0, shell=None, last_used=None, usage_history=[], group=None), record_history=True)
========================= 3 failed, 63 passed in 1.38s =========================

@Valentin-v-Todorov Valentin-v-Todorov merged commit bd2e604 into TheDevOpsBlueprint:main Oct 10, 2025
3 of 12 checks passed
@skalwaghe-56 skalwaghe-56 deleted the revert-74-feature/add-tests-cli-module branch October 10, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants