Import pytest and created some test- test scripts.
This commit is contained in:
		
							
								
								
									
										6
									
								
								test/test_import.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								test/test_import.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| import sys, os | ||||
| sys.path.append(os.path.realpath(os.path.dirname(__file__)+"/../src")) | ||||
|  | ||||
| def test_import_env_variables(): | ||||
|   import env_variables as env  | ||||
|   assert env.logfile == 'conf/output.log' | ||||
		Reference in New Issue
	
	Block a user