Skip to content

🧪 Add CLI uninstall tests - #432

Merged
MFA-X-AI merged 1 commit into
XpressAI:masterfrom
rabea-al:add-cli-uninstall-tests
Aug 1, 2025
Merged

MFA-X-AI merged 1 commit into
XpressAI:masterfrom
rabea-al:add-cli-uninstall-tests

Conversation

@rabea-al

Copy link
Copy Markdown
Contributor

Description

These tests were added after implementing the xircuits uninstall feature.

  • Test uninstalling a normal library (flask)

  • Handle uninstalling a non-existent library

  • Ensure core libraries (e.g. xai_events) cannot be uninstalled and remain intact

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Please Specify)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tests

How to test:

  1. Make sure pytest is installed in your virtual environment.
  2. Run the test file:
    pytest cli_tests.py -v
    

Tested on? Specify Version.

  • Windows
  • Linux Fedora
  • Mac
  • Others (State here -> xxx )

@github-actions

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch rabea-al/xircuits/add-cli-uninstall-tests

@MFA-X-AI
MFA-X-AI merged commit 6e90957 into XpressAI:master Aug 1, 2025
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