Commit f119255c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added Test_Tie_Point_Grid.tearDown().

parent c40c1a12
Pipeline #1532 failed with stages
in 52 seconds
......@@ -7,6 +7,7 @@ import unittest
import tempfile
import os
from importlib import util
import shutil
# custom
from .cases import test_cases
......@@ -34,6 +35,10 @@ class Test_Tie_Point_Grid(unittest.TestCase):
v=CRL.v,
q=CRL.q)
def tearDown(self):
if os.path.isdir(self.TPG.dir_out):
shutil.rmtree(self.TPG.dir_out)
def test_mean_shifts(self):
self.assertIsInstance(self.TPG.mean_x_shift_px, float)
self.assertIsInstance(self.TPG.mean_y_shift_px, float)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment