diff --git a/Tst/codeblockreusefeature/codeblockreusefeature.cfg b/Tst/codeblockreusefeature/codeblockreusefeature.cfg index d8992698553e661fc1eb43616c7459b79f43f842..de7a3ccafa19a5b18be7b36d1a93360c604ae0b1 100644 --- a/Tst/codeblockreusefeature/codeblockreusefeature.cfg +++ b/Tst/codeblockreusefeature/codeblockreusefeature.cfg @@ -25,6 +25,6 @@ threadname = True main-window-height = 791 main-window-width = 612 paned-position-search = 406 -paned-position-command-code = 105 +paned-position-command-code = 68 paned-position-comment = 462 diff --git a/Tst/tst/data_model.py b/Tst/tst/data_model.py index 2c795eaef9b5124a962ce024c38e87a277ec9360..48bf7b8386096aa8330333c9bb3edfca5f601a60 100644 --- a/Tst/tst/data_model.py +++ b/Tst/tst/data_model.py @@ -989,6 +989,10 @@ class TestSpecification: @precon_name.setter def precon_name(self, value: str): + if value == None: + value = "None" + else: + pass assert isinstance(value, str) self._precon_name = value @@ -1016,6 +1020,10 @@ class TestSpecification: @postcon_name.setter def postcon_name(self, value: str): + if value == None: + value = "None" + else: + pass assert isinstance(value, str) self._postcon_name = value diff --git a/Tst/tst/tst.cfg b/Tst/tst/tst.cfg index 1030e094406664cc532f78b51c46c121cefe819c..2f48bdb61d4361de7284187a1fa47af7e75743cc 100644 --- a/Tst/tst/tst.cfg +++ b/Tst/tst/tst.cfg @@ -14,8 +14,8 @@ output-file-path = ${paths:tst}/logs_test_runs/output_files/ [tst-preferences] show-json-view = True -main-window-height = 1043 -main-window-width = 1920 +main-window-height = 752 +main-window-width = 1386 paned-position = 919 paned-position-codeblockreuse = 520 diff --git a/Tst/tst/tst.py b/Tst/tst/tst.py index 21ab05b1e240e6556a40fac505a640dbd8feafa1..9b0efd6b0402f4d18acb0c91e70ad876054c3e71 100755 --- a/Tst/tst/tst.py +++ b/Tst/tst/tst.py @@ -196,7 +196,7 @@ class TstAppWindow(Gtk.ApplicationWindow): def __init__(self, logger=logger, *args, **kwargs): super().__init__(*args, **kwargs) self.logger = logger - self.logger.info('Initializing a instance of the class TstAppWindow') + self.logger.info('Initializing an instance of the class TstAppWindow') self.product_paths = [] # actions diff --git a/Tst/tst/view.py b/Tst/tst/view.py index ae636b3920c79b9e31c662012384415679f8bac1..4e106f151eab1fa247fe9005ee53d16f7941830f 100644 --- a/Tst/tst/view.py +++ b/Tst/tst/view.py @@ -71,7 +71,7 @@ class Board(Gtk.Box): """ def __init__(self, model, app, filename=None, logger=logger): """ - When a instance is initialized: + When an instance is initialized: * a data model instance is created * the toolbar is created * a instance of a grid is added