Import pytest and created some test- test scripts.

This commit is contained in:
2020-02-18 21:02:50 +01:00
parent 138a6b5fec
commit c95568e3b8
4 changed files with 16 additions and 0 deletions

6
test/test_import.py Normal file
View 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'