Robot Framework
__init__.py
Go to the documentation of this file.
1 # Copyright 2008-2015 Nokia Networks
2 # Copyright 2016- Robot Framework Foundation
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 
16 
39 
40 import sys
41 import warnings
42 
43 from robot.rebot import rebot, rebot_cli
44 from robot.run import run, run_cli
45 from robot.version import get_version
46 
47 
48 # Avoid warnings when using `python -m robot.run`.
49 # https://github.com/robotframework/robotframework/issues/2552
50 if not sys.warnoptions:
51  warnings.filterwarnings('ignore', category=RuntimeWarning, module='runpy')
52 
53 
54 __all__ = ['run', 'run_cli', 'rebot', 'rebot_cli']
55 __version__ = get_version()
Definition: run.py:1
def get_version(naked=False)
Definition: version.py:24