Skip to content

Commit

Permalink
Use new test dataset loaders in unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarpon committed Dec 19, 2019
1 parent 2985933 commit 6794274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions test/TestPIceOne.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ def TestPIceOne(aImarisId):
# Open the PyramidalCell file
# =======================================================s==================
print('Load file...')
currFilePath = os.path.realpath(__file__)
currPath = os.path.dirname(currFilePath)
filename = os.path.join(currPath, 'PyramidalCell.ims')
print(filename)
conn.mImarisApplication.FileOpen(filename, '')

conn.loadPyramidalCellTestDataset()

# Check that there is something loaded
# =========================================================================
print('Test that the file was loaded...')
Expand Down
5 changes: 1 addition & 4 deletions test/TestPIceTwo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ def TestPIceTwo(aImarisId):
# Open the SwimmingAlgae file
# =======================================================s==================
print('Load file...')
currFilePath = os.path.realpath(__file__)
currPath = os.path.dirname(currFilePath)
filename = os.path.join(currPath, 'SwimmingAlgae.ims')
conn.mImarisApplication.FileOpen(filename, '')
conn.loadSwimmingAlgaeTestDataset()

# Check that there is something loaded
# =========================================================================
Expand Down

0 comments on commit 6794274

Please sign in to comment.