Skip to content

Commit 876f895

Browse files
committed
Move tests and rename test files
1 parent 50ad60b commit 876f895

36 files changed

+16
-176
lines changed

src/diffpy/srfit/.DS_Store

6 KB
Binary file not shown.

src/diffpy/srfit/tests/__init__.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

src/diffpy/srfit/tests/debug.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/diffpy/srfit/tests/run.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/diffpy/srfit/tests/testbuilder.py renamed to tests/test_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import diffpy.srfit.equation.builder as builder
2323
import diffpy.srfit.equation.literals as literals
24-
from diffpy.srfit.tests.utils import _makeArgs, noObserversInGlobalBuilders
24+
from utils import _makeArgs, noObserversInGlobalBuilders
2525

2626

2727
class TestBuilder(unittest.TestCase):

src/diffpy/srfit/tests/testcharacteristicfunctions.py renamed to tests/test_characteristicfunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import numpy
2121

2222
from diffpy.srfit.sas.sasimport import sasimport
23-
from diffpy.srfit.tests.utils import _msg_nosas, has_sas
23+
from utils import _msg_nosas, has_sas
2424

2525
# Global variables to be assigned in setUp
2626
cf = None
File renamed without changes.

src/diffpy/srfit/tests/testcontribution.py renamed to tests/test_contribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from diffpy.srfit.fitbase.parameter import Parameter
2525
from diffpy.srfit.fitbase.profile import Profile
2626
from diffpy.srfit.fitbase.profilegenerator import ProfileGenerator
27-
from diffpy.srfit.tests.utils import noObserversInGlobalBuilders
27+
from utils import noObserversInGlobalBuilders
2828

2929

3030
class TestContribution(unittest.TestCase):

src/diffpy/srfit/tests/testdiffpyparset.py renamed to tests/test_diffpyparset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import numpy
2222

23-
from diffpy.srfit.tests.utils import _msg_nostructure, has_structure
23+
from utils import _msg_nostructure, has_structure
2424

2525
# Global variables to be assigned in setUp
2626
Atom = Lattice = Structure = DiffpyStructureParSet = None

src/diffpy/srfit/tests/testequation.py renamed to tests/test_equation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import diffpy.srfit.equation.literals as literals
2121
from diffpy.srfit.equation import Equation
22-
from diffpy.srfit.tests.utils import _makeArgs, noObserversInGlobalBuilders
22+
from utils import _makeArgs, noObserversInGlobalBuilders
2323

2424

2525
class TestEquation(unittest.TestCase):

0 commit comments

Comments
 (0)