mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 10:01:35 +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__':
|
||||
import os
|
||||
import glob
|
||||
import unittest
|
||||
test_file_strings = glob.glob('test_*.py')
|
||||
module_strings = [str[0:len(str)-3] for str in test_file_strings]
|
||||
suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from SimPEG import *
|
||||
import unittest
|
||||
from SimPEG import *
|
||||
import simpegDC
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user