[test-API PATCH 0/2] support variables share across testcases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These two patch is to create a shared module in the root of test-API
The framework will create connection object for shared use in testcases
based on environment checking results.


sharedmod.py

# This is a module for variable sharing across testcases during
# running. You have to import it in each of testcases which want
# to share data. The framwork have already set 'conn' for use in
# testcases.

# connection object in libvirt.py
conn = None

# shared variables for customized use in testcases
# Note: please set them to None at the end of sharing
defined_var1 = None
defined_var2 = None
defined_var3 = None

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux