Remove unnecessary code from test
import unittest
-import numpy as np
import tests.io.generate_pazy_udpout as gp
import os
import shutil
@@ -32,23 +31,10 @@ class TestPazyCoupledStatic(unittest.TestCase):
Msf=Msf,
cd=self.route_test_dir)
- node_number = N / 2 # wing tip node
-
- # Get results in A frame
- tip_displacement = np.loadtxt(output_folder + '/' + case_name + '/WriteVariablesTime/struct_pos_node{:g}.dat'.format(node_number))
-
- # current reference from Technion abstract
- # ref_displacement = 2.033291e-1 # m
- # np.testing.assert_almost_equal(tip_displacement[-1], ref_displacement,
- # decimal=3,
- # err_msg='Wing tip displacement not within 3 decimal points of reference.',
- # verbose=True)
-
def tearDown(self):
cases_folder = self.route_test_dir + '/cases/'
if os.path.isdir(cases_folder):
- import shutil
shutil.rmtree(cases_folder)
