Skip to content

Commit d58accb

Browse files
authored
Merge pull request #32 from mozilla-mobile/irios-disable-test-runs-counts
Fix commenting ReportTestRunCounts and where it is involved
2 parents e475478 + 144a4da commit d58accb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testrail.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Projects,
1010
TestSuites,
1111
ReportTestCaseCoverage,
12-
ReportTestRunCounts
12+
# ReportTestRunCounts
1313
)
1414

1515
from utils.datetime_utils import DatetimeUtils as dt
@@ -296,6 +296,7 @@ def report_test_runs_insert(self, project_id, payload):
296296
if t['testrail_completed_on']:
297297
created_on = dt.convert_epoch_to_datetime(t['testrail_created_on']) # noqa
298298
completed_on = dt.convert_epoch_to_datetime(t['testrail_completed_on']) # noqa
299+
'''
299300
report = ReportTestRunCounts(
300301
projects_id=project_id,
301302
testrail_run_id=t['testrail_run_id'],
@@ -305,5 +306,6 @@ def report_test_runs_insert(self, project_id, payload):
305306
test_case_blocked_count=t['blocked_count'],
306307
testrail_created_on=created_on,
307308
testrail_completed_on=completed_on)
308-
self.session.add(report)
309+
'''
310+
# self.session.add(report)
309311
self.session.commit()

0 commit comments

Comments
 (0)