Skip to content

Commit

Permalink
DEBUG: if test case is inside the DB or not
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 21, 2023
1 parent 867e4c3 commit 71f2980
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tcms_api/plugin_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,14 @@ def test_case_get_or_create(self, summary):
}
)

print(
"*** DEBUG: get_or_create a TestCase",
len(summary),
f"summary=+{summary}+",
bool(test_case),
)

if not test_case:
print(
"*** DEBUG: going to create a TestCase",
len(summary),
f"summary=+{summary}+",
)
test_case = [
self.rpc.TestCase.create(
{
Expand Down

0 comments on commit 71f2980

Please sign in to comment.