Make possiblity to disable cached checked tests
Fixed a few pyling warning about text formatting
PRODX-38928
Change-Id: Idd44d481fc3ff45737fc73506e90b3aca88b16cd
diff --git a/testrail_bot/control/models.py b/testrail_bot/control/models.py
index a68d088..71fd861 100644
--- a/testrail_bot/control/models.py
+++ b/testrail_bot/control/models.py
@@ -1,5 +1,3 @@
-import datetime
-
from django.core.files.storage import FileSystemStorage
from django.db import models
from django.utils.timezone import now
@@ -39,6 +37,7 @@
test_pattern = models.CharField(max_length=300, blank=True)
run_id = models.CharField(max_length=300)
checked_tests = IntegerListField(default=list())
+ caching_tests_enabled = models.BooleanField(default=False)
created_by_id = models.IntegerField(default='109')
filter_func = models.TextField(null=True, blank=True)
ip_filter = models.BooleanField(default=True)
@@ -95,13 +94,13 @@
("11188", "[MCP2.0_XENA]Tempest"),
("11170", "[MCP2.0_YOGA]Tempest"),
("11192", "[MCP2.0_ANTELOPE]Tempest"))
- ),
+ ),
("Stepler", (
("10886", "[MCP2.0_USSURI]Stepler"),
("10887", "[MCP2.0_VICTORIA]Stepler"),
("11171", "[MCP2.0_YOGA]Stepler"),
("11193", "[MCP2.0_ANTELOPE]Stepler"))
- ),
+ ),
]
suite_id = models.CharField(max_length=20, choices=SUITE_CHOICES)
suite_name = models.CharField(max_length=100, blank=True)