Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions devsimpy/DiagramConstantsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ class DiagramConstantsDialog(wx.Dialog):
def __init__(self, *args, **kw):
""" Constructor.
"""
# Si on est dans GitHub Actions, changer wx.Dialog en wx.Frame
if os.environ.get("GITHUB_ACTIONS") == "true":
super().__init__(*args, **kw)
self.SetStyle(wx.DEFAULT_FRAME_STYLE) # Simule un Frame pour GitHub Actions
else:
super().__init__(*args, **kw)
kw["style"] = wx.DEFAULT_FRAME_STYLE # Utilise un style de Frame

super().__init__(*args, **kw)

### local copy
self.label = args[2]
Expand Down
152 changes: 0 additions & 152 deletions env.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_draglist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### lauch the test
### python test_draglit.py --autoclose
### python test_draglist.py --autoclose
### python test_draglist.py --autoclose 10 (sleep time before to close the frame is 10s)

from random import choice
Expand Down
2 changes: 1 addition & 1 deletion tests/test_findgui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### lauch the test
### python test_indgui.py --autoclose
### python test_findgui.py --autoclose
### python test_findgui.py --autoclose 10 (sleep time before to close the frame is 10s)

from ApplicationController import TestApp
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ftpgui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### lauch the test
### python FTPGUI.py --autoclose
### python FTPGUI.py --autoclose 10 (sleep time before to close the frame is 10s)
### python test_ftpgui.py --autoclose
### python test_ftpgui.py --autoclose 10 (sleep time before to close the frame is 10s)

from ApplicationController import TestApp

Expand Down
1 change: 0 additions & 1 deletion tests/test_importlibrary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

### lauch the test
### python test_importlibrary.py --autoclose
### python test_importlibrary.py --autoclose 10 (sleep time before to close the frame is 10s)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_prioritygui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### lauch the test
### python PriorityGUI.py --autoclose
### python PriorityGUI.py --autoclose 10 (sleep time before to close the frame is 10s)
### python test_prioritygui.py --autoclose
### python test_prioritygui.py --autoclose 10 (sleep time before to close the frame is 10s)

from ApplicationController import TestApp

Expand Down
4 changes: 2 additions & 2 deletions tests/test_wizardgui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### lauch the test
### python WizardGUI.py --autoclose
### python WizardGUI.py --autoclose 10 (sleep time before to close the frame is 10s)
### python test_wizardgui.py --autoclose
### python test_wizardgui.py --autoclose 10 (sleep time before to close the frame is 10s)

import os

Expand Down
2 changes: 1 addition & 1 deletion tests/test_yamlexportgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@

### Run the test
app = TestApp(0)
frame = YAMLExportGUI(None, -1, 'Test', path=r'C:\\Users\capocchi_l.UDCPP\Downloads\plotly_test.yaml')
frame = YAMLExportGUI(None, -1, 'Test', path=r'test.yaml')
app.RunTest(frame)
Loading