Skip to content

Commit

Permalink
include all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldoucet committed Aug 8, 2024
1 parent a951168 commit 68303b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/hest_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ def test_spatialdata(self):


def test_patching(self):
for idx, st in enumerate(self.sts):
with self.subTest(st_object=idx):
name = ''
name += st.meta['id']
st.dump_patches(self.output_dir, name=name)
for idx, st in enumerate(self.sts):
with self.subTest(st_object=idx):
name = ''
name += st.meta['id']
st.dump_patches(self.output_dir, name=name)


def test_saving(self):
Expand All @@ -180,9 +180,9 @@ def test_saving(self):
#TestHESTReader()

loader = unittest.TestLoader()
#suite = loader.loadTestsFromTestCase(TestHESTData)
suite = unittest.TestSuite()
suite.addTest(TestHESTData('test_patching'))
suite = loader.loadTestsFromTestCase(TestHESTData)
#suite = unittest.TestSuite()
#suite.addTest(TestHESTData('test_patching'))
result = unittest.TextTestRunner(verbosity=2).run(suite)
if not result.wasSuccessful():
raise Exception('Test failed')

0 comments on commit 68303b1

Please sign in to comment.