Merge "Releng environment in unit testing."
[functest.git] / functest / tests / unit / utils / test_openstack_utils.py
index 0971b4e..447271f 100644 (file)
@@ -379,6 +379,9 @@ class OSUtilsTesting(unittest.TestCase):
         self._test_source_credentials('export OS_TENANT_NAME = "admin"')
         self._test_source_credentials('OS_TENANT_NAME', value='')
         self._test_source_credentials('export OS_TENANT_NAME', value='')
+        # This test will fail as soon as rc_file is fixed
+        self._test_source_credentials(
+            'export "\'OS_TENANT_NAME\'" = "\'admin\'"')
 
     @mock.patch('functest.utils.openstack_utils.os.getenv',
                 return_value=None)