mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-18 12:30:39 +08:00
Fix Testing stuff.
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
from TestUtils import checkDerivative, Rosenbrock, OrderTest, getQuadratic
|
import os
|
||||||
|
import glob
|
||||||
|
import unittest
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
import os
|
|
||||||
import glob
|
|
||||||
import unittest
|
|
||||||
test_file_strings = glob.glob('test_*.py')
|
test_file_strings = glob.glob('test_*.py')
|
||||||
module_strings = [str[0:len(str)-3] for str in test_file_strings]
|
module_strings = [str[0:len(str)-3] for str in test_file_strings]
|
||||||
suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str
|
suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
from SimPEG import *
|
|
||||||
import unittest
|
import unittest
|
||||||
|
from SimPEG import *
|
||||||
import simpegDC
|
import simpegDC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user