From 15e74f75faae33635c0ce8028ff0dc3b7619004f Mon Sep 17 00:00:00 2001 From: full-Strix Date: Thu, 14 Mar 2024 15:38:16 +0100 Subject: [PATCH] fix testing unit test action --- tests/test_demo.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_demo.py b/tests/test_demo.py index da298d1..9538ee7 100644 --- a/tests/test_demo.py +++ b/tests/test_demo.py @@ -123,15 +123,14 @@ def check_results(pickle_result, ref_pickle): def run_tests(): local_path = os.path.join(os.path.dirname( os.path.realpath( __file__ ) ), 'demo_data') - out_path = os.path.join( local_path, 'ref_results' ) ref_pickle_StickZeppelinBall = os.path.join( local_path, 'ref_results', 'ref_results_StickZeppelinBall.pickle' ) ref_pickle_BallandStick = os.path.join( local_path, 'ref_results', 'ref_results_BallandStick.pickle' ) # ref_pickle_VolumeFractions = os.path.join( local_path, 'results_VolumeFractions.pickle' ) run_commit_StickZeppelinBall(local_path) - results_pickle = os.path.join( out_path, 'COMMIT', 'Results_StickZeppelinBall', 'results.pickle' ) + results_pickle = os.path.join( local_path, 'COMMIT', 'Results_StickZeppelinBall', 'results.pickle' ) check_results(results_pickle, ref_pickle_StickZeppelinBall) run_commit_BallandStick(local_path) - results_pickle = os.path.join( out_path, 'COMMIT', 'Results_StickZeppelinBall', 'results.pickle' ) + results_pickle = os.path.join( local_path, 'COMMIT', 'Results_StickZeppelinBall', 'results.pickle' ) check_results(results_pickle, ref_pickle_BallandStick) # run_commit_VolumeFractions() # results_pickle = os.path.join( local_path, 'demo_data', 'COMMIT', 'Results_VolumeFractions', 'results.pickle' )