python run tests code example
Example 1: python run command
import os
os.system('cmd /k "Your Command Prompt Command"')
Example 2: self.assertequal python
'''
In other words, assertEquals is a function to check if two variables are equal, for purposes of automated testing:
'''
def assertEquals(var1, var2):
if var1 == var2:
return True
else:
return False