Forum Discussion

veerasureshk's avatar
veerasureshk
Occasional Contributor
3 years ago
Solved

Regarding tags usage in command line

Hi,

 

In python script, I have couple of functions (ex: 5 functions) with tag @smoke .can you please let me know how to execute particular function/functions (ex: need to execute only 2/3 out of 5 and need to ignore remaining 3/2 functions)  

Example:

 

@smoke

def one():

 pass

 

@smoke

def two():

 pass

 

@smoke

def three():

 pass

 

@smoke

def four():

 pass

 

@smoke

def five():

 pass


If I use command like /tags:"@smoke" ,all 5 functions will execute.

 

Thanks in advance.