Praxis_Bot/test_module.py
Alex Orid 4ef983c7cc Added Test Module & Updated Name == Main
Added a test module to make it faster to include new additions.

I also updated the name == main section in each module to use the values in config instead of itself.
2021-01-20 04:35:09 -05:00

21 lines
520 B
Python

import config as config
import db
import credentials
class Test_Module():
def __init__(self):
super().__init__()
#self.dbCredential: credentials.DB_Credential
def main(self):
print("[TEST Module]> test")
if __name__ == "__main__":
testModule = Test_Module()
credentials_manager = credentials.Credentials_Module()
credentials_manager.load_credentials()
testModule.dbCredential = credentials_manager.find_DB_Credential(config.credentialsNickname)
testModule.main()