mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-12 05:50:49 +08:00
Optim unit tests
This commit is contained in:
1 parent
86daf3d9d8
commit
ed9da13292
10 files changed
+124
-97
No files matched your search
@@ -13,6 +13,7 @@ class BaseModule():
|
||||
self.package_name = package_name
|
||||
self.root_dir = Path(__file__).resolve().parent.parent
|
||||
self.package_dir = self.root_dir / self.package_name
|
||||
self.tests_dir = self.root_dir / 'tests'
|
||||
|
||||
sys.path.append(str(self.root_dir))
|
||||
sys.path.append(str(self.package_dir))
|
||||
|
||||
Reference in new issue
Block a user