Skip to content

Commit

Permalink
fix [unittest] earlier definition of file directory for tear down fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
sduess committed Sep 20, 2023
1 parent a0f43bf commit a1de78e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/coupled/dynamic/test_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class TestCoupledDynamic(unittest.TestCase):
- Gust response of the hale aircraft
"""

route_file_dir = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))

def test_hale_dynamic(self):
"""
Case and results from:
Expand All @@ -24,7 +26,6 @@ def test_hale_dynamic(self):
import tests.coupled.dynamic.hale.generate_hale

case_name = 'hale'
self.route_file_dir = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
cases_folder = os.path.join(self.route_file_dir, case_name)
output_folder = cases_folder + '/output/'

Expand Down

0 comments on commit a1de78e

Please sign in to comment.