Configure tests as a module.
parent
6dcb0daae7
commit
30bae2c1f9
|
@ -1 +1,2 @@
|
|||
/.env
|
||||
/config/.ipynb_checkpoints/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.9 (straw2analysis)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
|
@ -0,0 +1,4 @@
|
|||
from unittest import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(module="test", verbosity=2)
|
|
@ -1,5 +1,6 @@
|
|||
import unittest
|
||||
import os
|
||||
import unittest
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
Loading…
Reference in New Issue