You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jkshj21 IIRC the update methods in SCRAPI mimic what the base class was doing, which is why these were implemented in a way that required the kwargs to be provided.
However, because SCRAPI is meant to be an "easier" implementation, it does make sense to support this.
I'm discussing with @MRyderOC offline and we'll come up with a solution that will work for all update methods that can be inherited.
Expected Behavior
should update the test case
Current Behavior
it's not updating the test case
Possible Solution
it should update the test case when passing an obj AND passing a key /value
Steps to Reproduce
test_cases_list = TestCases(creds_path=creds_path, agent_id=agent_id).list_test_cases()
test_case_id = [test_cases_list[0].name][0]
Update the display name of the test case
ex_test_case=test_cases_list[0]
ex_test_case.display_name = "josh is testing"
tc.update_test_case(test_case_id=test_case_id, obj = ex_test_case)
Context (Environment)
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: