Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD: initial unittest for agentneo.py file #92

Closed
wants to merge 26 commits into from

Conversation

01PrathamS
Copy link
Contributor

@01PrathamS 01PrathamS commented Nov 11, 2024

Description

  • Initial commit for unit tests in AgentNeo/agentneo.py.
  • Adds tests for project creation, project connection, project listing, and dashboard launch functionalities.
  • Updated requirements.txt with pytest for testing support.

Related Issue

Type of Change

  • Added unit tests for AgentNeo/agentneo.py functionalities.
  • Updated requirements.txt with pytest.

How Has This Been Tested?

  • Ran the new test cases to verify successful creation, connection, and listing of projects.
  • Ensured tests handle cases where projects already exist without causing test failures.
  • Verified the dashboard launch functionality with mock.

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, especially in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my feature works as expected.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.

Additional Context

  • Exception handling in tests ensures cases with pre-existing projects are managed without needing deletion.
  • Sample test output and debugging information available upon request.

Impact on Roadmap

  • Aligns with project goals to improve code reliability and maintainability through comprehensive testing.
  • Supports future feature integration by ensuring foundational tests are in place.

@01PrathamS
Copy link
Contributor Author

can you please review this @kiranscaria, help me over here if things need to be refactored Thanks!!

Api migration plus execution graph modification
@kiranscaria kiranscaria self-requested a review November 12, 2024 11:27
Copy link
Collaborator

@kiranscaria kiranscaria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@01PrathamS The changes seem okay, but pls re-raise the PR against this branch: https://github.com/raga-ai-hub/AgentNeo/tree/v1.2

@01PrathamS
Copy link
Contributor Author

@kiranscaria does this works?

@kiranscaria
Copy link
Collaborator

@01PrathamS You will need to close this PR and raise a new PR against this branch: https://github.com/raga-ai-hub/AgentNeo/tree/v1.2

pakhale-2012 pushed a commit to aristotle-ai/RagaAI-Catalyst that referenced this pull request Jan 26, 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.

5 participants