forked from Abacus-Group-RTO/legion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.py
31 lines (28 loc) · 844 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
try:
from sqlalchemy.orm.scoping import ScopedSession as scoped_session
print("SQL Alchemy library OK")
except ImportError as e:
print("Import failed. SQL Alchemy library not found.")
exit(1)
try:
from PyQt5 import QtWidgets, QtGui, QtCore
print("PyQt5 library OK.")
except ImportError as e:
print("Import failed. PyQt5 library not found.")
exit(1)
try:
import quamash
import asyncio
print("Quamash and asyncio libraries OK.")
except ImportError as e:
print("Import failed. quamash or asyncio not found.")
exit(1)
try:
from app.logic import *
from ui.gui import *
from ui.view import *
from controller.controller import *
print("Legion class imports OK.")
except ImportError as e:
print("Import failed. One or more modules failed to import correctly.")
exit(1)