-
Notifications
You must be signed in to change notification settings - Fork 2
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
Managed test case examples #158
Managed test case examples #158
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0b93492
to
fb39197
Compare
fb39197
to
deb7172
Compare
2f5a8e6
to
12ff49f
Compare
Python/testing-sdk/my_project/test_suites/flashcard_generator_managed/__init__.py
Outdated
Show resolved
Hide resolved
TestCase(**test_case.body) for test_case in test_cases_response.test_cases | ||
]""" | ||
|
||
# Comment this line once you have created test cases for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd just make this a hybrid example, so add them together
Python/testing-sdk/my_project/test_suites/flashcard_generator/__init__.py
Outdated
Show resolved
Hide resolved
def run(): | ||
# Uncomment following block to start using managed test cases | ||
"""client = AutoblocksAPIClient() | ||
test_cases_response = client.get_test_cases(test_suite_id="flashcard-generator-managed") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's assign the test ID to a variable and use it here to make the relationship clear
…es-for-managed-test-cases
Added example for how to use managed test cases with the testing SDK