mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix unit tests.
This commit is contained in:
parent
fc7abc7d99
commit
2e2975ef95
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ from lslopt.lsloptimizer import optimizer
|
|||
from lslopt import lslfuncs
|
||||
import unittest
|
||||
import os
|
||||
import lslopt.lslcommon
|
||||
|
||||
class UnitTestCase(unittest.TestCase):
|
||||
pass
|
||||
|
@ -498,5 +499,7 @@ class Test03_Optimizer(UnitTestCase):
|
|||
del self.outscript
|
||||
|
||||
|
||||
lslopt.lslcommon.DataPath = __file__[:-len(os.path.basename(__file__))]
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue