summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/os_source_file_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/tests/os_source_file_test.py')
-rw-r--r--snaps/openstack/tests/os_source_file_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/snaps/openstack/tests/os_source_file_test.py b/snaps/openstack/tests/os_source_file_test.py
index 7e910a4..f1f90ec 100644
--- a/snaps/openstack/tests/os_source_file_test.py
+++ b/snaps/openstack/tests/os_source_file_test.py
@@ -61,6 +61,10 @@ class OSComponentTestCase(unittest.TestCase):
self.image_metadata = image_metadata
+ keystone = keystone_utils.keystone_client(self.os_creds)
+ self.project_id = keystone_utils.get_project(
+ keystone=keystone, project_name=self.os_creds.project_name)
+
@staticmethod
def parameterize(testcase_klass, os_creds, ext_net_name,
image_metadata=None, log_level=logging.DEBUG):