test_virtualenv_library.py
Go to the documentation of this file.
00001 # Software License Agreement (GPL)
00002 #
00003 # \file      test_virtualenv_library.py
00004 # \authors   Paul Bovbel <pbovbel@locusrobotics.com>
00005 # \copyright Copyright (c) (2017,), Locus Robotics, All rights reserved.
00006 #
00007 # This program is free software: you can redistribute it and/or
00008 # modify it under the terms of the GNU General Public License as
00009 # published by the Free Software Foundation, either version 2 of the
00010 # License, or (at your option) any later version.
00011 #
00012 # This program is distributed in the hope that it will be useful, but
00013 # WITHOUT ANY WARRANTY; without even the implied warranty of
00014 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015 # General Public License for more details.
00016 #
00017 # You should have received a copy of the GNU General Public License
00018 # along with this program. If not, see <http://www.gnu.org/licenses/>.
00019 import importlib
00020 import unittest
00021 
00022 
00023 class TestVirtualenv(unittest.TestCase):
00024 
00025     def test_import(self):
00026         requests = importlib.import_module("requests")
00027         self.assertEquals(requests.__version__, "2.20.1")


test_catkin_virtualenv_py3_isolated
Author(s): Paul Bovbel
autogenerated on Thu Jun 27 2019 20:04:53