Remove deprecated `robot.running.TestSuite.(imports|variables|user_keywords)`
Fixes
@@ -33,8 +33,6 @@ __ http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#
__ http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface
"""
-import warnings
-
from robot import model
from robot.conf import RobotSettings
from robot.output import LOGGER, Output, pyloggingconf
@@ -124,33 +122,6 @@ class TestSuite(model.TestSuite):
#: this data comes from the same test case file that creates the suite.
self.resource = ResourceFile(source=source)
- # TODO: Remote deprecated propertys below in RF 3.1.
- # `TestSuite`.resource was introduced already in RF 2.9.
-
- @property
- def imports(self):
- """Deprecated. Use ``TestSuite.resource.imports`` instead."""
- warnings.warn("'TestSuite.imports' is deprecated since RF 2.9. "
- "Use 'TestSuite.resource.imports' instead.",
- UserWarning)
- return self.resource.imports
-
- @property
- def variables(self):
- """Deprecated. Use ``TestSuite.resource.variables`` instead."""
- warnings.warn("'TestSuite.variables' is deprecated since RF 2.9. "
- "Use 'TestSuite.resource.variables' instead.",
- UserWarning)
- return self.resource.variables
-
- @property
- def user_keywords(self):
- """Deprecated. Use ``TestSuite.resource.keywords`` instead."""
- warnings.warn("'TestSuite.user_keywords' is deprecated since RF 2.9. "
- "Use 'TestSuite.resource.keywords' instead.",
- UserWarning)
- return self.resource.keywords
-
def configure(self, randomize_suites=False, randomize_tests=False,
randomize_seed=None, **options):
"""A shortcut to configure a suite using one method call.
