]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
test for interpolz
authorasl <asl@opencascade.com>
Wed, 23 Nov 2016 05:23:59 +0000 (08:23 +0300)
committerasl <asl@opencascade.com>
Wed, 23 Nov 2016 05:25:26 +0000 (08:25 +0300)
src/salome_hydro/interpolz_gui.py
src/salome_hydro/test_interpolz_gui.py [new file with mode: 0644]

index 926029a3db7a19b2255757c5a08a5d3ef0dfe25e..c499d903022568741b4b90877952f18fb7e9445b 100644 (file)
@@ -163,15 +163,3 @@ class InterpolzDlg( QtGui.QDialog ):
 
     def onHelp( self ):
         pass
-
-
-if __name__=='__main__':
-    dlg = InterpolzDlg()
-    dlg.show()
-    #dlg.CalcCase.setText( 'Case_1' )
-    #dlg.OutputPath.setText( '/dn26/HYDRO/interp1.py' )
-    #dlg.MEDFile.setText( '/dn26/HYDRO/channel.med' )
-    #dlg.onApply()
-
-#print get_med_groups( "/dn26/HYDRO/channel.med" )
-#print get_hydro_regions( "Case_1" )
diff --git a/src/salome_hydro/test_interpolz_gui.py b/src/salome_hydro/test_interpolz_gui.py
new file mode 100644 (file)
index 0000000..f92d53e
--- /dev/null
@@ -0,0 +1,11 @@
+
+from interpolz_gui import InterpolzDlg
+
+dlg = InterpolzDlg()
+dlg.show()
+dlg.CalcCase.setText( 'Case_1' )
+dlg.OutputPath.setText( '/dn26/HYDRO/interp1.py' )
+dlg.MEDFile.setText( '/dn26/HYDRO/channel.med' )
+
+#print get_med_groups( "/dn26/HYDRO/channel.med" )
+#print get_hydro_regions( "Case_1" )